Beispiel #1
0
 public ConstantDeclaration(string name, Exp exp, PascalType type = null) : base(name)
 {
     this.Exp  = exp;
     this.Type = type;
 }
Beispiel #2
0
 public CallableType(List <ParameterDeclaration> procParameters, PascalType returnType = null)
 {
     this.Parameters = procParameters;
     this.ReturnType = returnType;
 }
Beispiel #3
0
 public Array(PascalType elemType, List <ArrayDimension> dims)
 {
     this.ElementType = elemType;
     this.Dimensions  = dims;
 }
Beispiel #4
0
 public Field(List <string> names, PascalType type)
 {
     this.Names = names; this.Type = type;
 }
Beispiel #5
0
 public Pointer(PascalType type)
 {
     this.pointee = type;
 }
Beispiel #6
0
 public CallableDeclaration(string name, PascalType retType, List <ParameterDeclaration> parameters)
     : base(name)
 {
     this.ReturnType = retType;
     this.Parameters = parameters;
 }
Beispiel #7
0
 public TypeDeclaration(string name, PascalType type) : base(name)
 {
     this.Type = type;
 }
Beispiel #8
0
 public TypeDeclaration(string name, PascalType type)
 {
     this.Name = name;  this.Type = type;
 }
Beispiel #9
0
 public Field(string name, PascalType type)
 {
     this.Name = name; this.Type = type;
 }