Example #1
0
        public ArrayType(TypeNode type, IntegralType sizeType)
            : base(type)
        {
            UInt64 size = sizeType.ValueRange();

            if (size > Int32.MaxValue)
            {
                size = Int32.MaxValue;
            }
            AddDimension((uint)size);
        }
Example #2
0
 public VariantDeclaration(String id, IntegralType t, DeclarationList varfields)
     : this(id, (VariableType)t, varfields)
 {
 }
Example #3
0
 public OrdinalLiteral(ulong v, IntegralType t) : base(new IntegralValue(v), t)
 {
 }