public ConstantDeclaration(string name, Exp exp, PascalType type = null) : base(name) { this.Exp = exp; this.Type = type; }
public CallableType(List <ParameterDeclaration> procParameters, PascalType returnType = null) { this.Parameters = procParameters; this.ReturnType = returnType; }
public Array(PascalType elemType, List <ArrayDimension> dims) { this.ElementType = elemType; this.Dimensions = dims; }
public Field(List <string> names, PascalType type) { this.Names = names; this.Type = type; }
public Pointer(PascalType type) { this.pointee = type; }
public CallableDeclaration(string name, PascalType retType, List <ParameterDeclaration> parameters) : base(name) { this.ReturnType = retType; this.Parameters = parameters; }
public TypeDeclaration(string name, PascalType type) : base(name) { this.Type = type; }
public TypeDeclaration(string name, PascalType type) { this.Name = name; this.Type = type; }
public Field(string name, PascalType type) { this.Name = name; this.Type = type; }