public ASTDeclarationLocal(LexLocation location, ASTType type, String id) { HasValue = false; Type = type; ID = id; Location = location; }
public ASTDeclarationLocal(LexLocation location, ASTType type, String id, ASTExpression value) { HasValue = true; Type = type; ID = id; Location = location; InitialValue = value; }
public ASTDeclarationMethod(ASTModifierList accessModifiers, ASTType returnType, String name, ASTFormalList formals, ASTStatementList body) { Modifiers = accessModifiers; ReturnType = returnType; Name = name; Formals = formals; Body = body; }
public ASTInstantiateArray(ASTType type, ASTExpression low, ASTExpression up) { Type = type; Lower = low; Upper = up; }
public ASTTypeArray(ASTType baseType) { BaseType = baseType; }
public ASTFormal(string modifier, ASTType type, String name) { Modifier = modifier; Type = type; Name = name; }
public ASTFormal(ASTType type, String name) { Type = type; Name = name; }
public ASTDeclarationField(ASTModifierList modifiers, ASTType type, String name) { Modifiers = modifiers; FieldType = type; Name = name; }
/* Variables */ public virtual void VisitType(ASTType n) { }