1 using TypeSystem.Operations;
6 using System.Collections.Generic;
7 using CodeGeneration.ExceptionManagement;
8 namespace CodeGeneration.Operations {
12 internal class CGProcessMethodOperation<T> :
TypeSystemOperation where T : ILCodeGenerator {
17 private T codeGenerator;
21 private int indentation;
27 private object argument;
35 public CGProcessMethodOperation(T codeGenerator,
int indentation,
MethodDeclaration node,
object argument) {
36 this.codeGenerator = codeGenerator;
37 this.indentation = indentation;
39 this.argument = argument;
46 public override object Exec(
MethodType m,
object arg) {
47 this.codeGenerator.WriteLNMethodHeader(this.indentation, m.MemberInfo.MemberIdentifier, m);
Represents a error produced when member type is expected but do not found.
This class represent the entry wnen sending a message to an operation object derived from TypeExpress...
Abstract class that represents all different types.
Encapsulates a declaration of a concrete method.
Representa a method type.