Ejemplo n.º 1
0
 public ASTDeclarationCtor(ASTModifierList accessModifiers, String name, ASTFormalList formals, ASTStatementList body)
 {
     Modifiers = accessModifiers;
     Name      = name;
     Formals   = formals;
     Body      = body;
 }
Ejemplo n.º 2
0
 public ASTDeclarationMethod(ASTModifierList accessModifiers, ASTType returnType, String name, ASTFormalList formals, ASTStatementList body)
 {
     Modifiers  = accessModifiers;
     ReturnType = returnType;
     Name       = name;
     Formals    = formals;
     Body       = body;
 }
Ejemplo n.º 3
0
 public ASTModifierList(string mod, ASTModifierList tail)
 {
     Modifier = mod;
     Tail     = tail;
     IsEmpty  = false;
 }
Ejemplo n.º 4
0
 public ASTDeclarationField(ASTModifierList modifiers, ASTType type, String name)
 {
     Modifiers = modifiers;
     FieldType = type;
     Name      = name;
 }
Ejemplo n.º 5
0
 public virtual void VisitModifierList(ASTModifierList n)
 {
 }