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 VisitFormalList(ASTFormalList n) { if (!n.IsEmpty) { n.Formal.Visit(this); n.Tail.Visit(this); } }
public ASTFormalList(ASTFormal formal, ASTFormalList tail) { IsEmpty = false; Formal = formal; Tail = tail; }