public ASTDeclarationCtor(ASTModifierList accessModifiers, String name, ASTFormalList formals, ASTStatementList body) { Modifiers = accessModifiers; Name = name; Formals = formals; Body = body; }
public ASTDeclarationMethod(ASTModifierList accessModifiers, ASTType returnType, String name, ASTFormalList formals, ASTStatementList body) { Modifiers = accessModifiers; ReturnType = returnType; Name = name; Formals = formals; Body = body; }
public virtual void VisitStatementList(ASTStatementList n) { if (!n.IsEmpty) { n.Statement.Visit(this); n.Tail.Visit(this); } }
public ASTStatementList(ASTStatement statement, ASTStatementList tail) { IsEmpty = false; Statement = statement; Tail = tail; }