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