// dims is a list of ranges public ArrayType(TypeNode type, TypeList dims) : base(type) { // TODO Check constant and compute value foreach (Node n in dims) { RangeType range = (RangeType)n; // int dim = range.max - range.min; // AddDimension(dim); } }
public VariantDeclaration(String id, RangeType t, DeclarationList varfields) : this(id, (VariableType)t, varfields) { }
public SetRange(RangeType type) { this.ForcedType = this.Type = type; this.EnforceConst = true; }