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