示例#1
0
 // 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);
     }
 }
示例#2
0
 public SetRange(RangeType type)
 {
     this.ForcedType   = this.Type = type;
     this.EnforceConst = true;
 }
示例#3
0
 public VariantDeclaration(String id, RangeType t, DeclarationList varfields)
     : this(id, (VariableType)t, varfields)
 {
 }