示例#1
0
 public PointerClepsType(ClepsType baseType)
 {
     BaseType       = baseType;
     IsArrayType    = false;
     IsFunctionType = false;
     IsStaticType   = false;
 }
示例#2
0
 public FunctionClepsType(List <ClepsType> parameterTypes, ClepsType returnType)
 {
     ParameterTypes = parameterTypes;
     ReturnType     = returnType;
     IsArrayType    = false;
     IsFunctionType = true;
     IsStaticType   = false;
 }
示例#3
0
 public ArrayClepsType(ClepsType baseType, long[] dimensions)
 {
     BaseType       = baseType;
     Dimensions     = dimensions;
     IsArrayType    = true;
     IsFunctionType = false;
     IsStaticType   = false;
 }
示例#4
0
        public override bool NotNullObjectEquals(ClepsType obj)
        {
            if (obj.GetType() != typeof(VoidClepsType))
            {
                return(false);
            }

            return(true);
        }
示例#5
0
        public override bool NotNullObjectEquals(ClepsType obj)
        {
            if (obj.GetType() != typeof(FunctionClepsType))
            {
                return(false);
            }

            FunctionClepsType objToCompare = obj as FunctionClepsType;

            return(ReturnType == objToCompare.ReturnType && ParameterTypes.SequenceEqual(objToCompare.ParameterTypes));
        }
示例#6
0
        public override bool NotNullObjectEquals(ClepsType obj)
        {
            if (obj.GetType() != typeof(BasicStaticClepsType))
            {
                return(false);
            }

            BasicStaticClepsType objToCompare = obj as BasicStaticClepsType;

            return(RawTypeName == objToCompare.RawTypeName);
        }
示例#7
0
        public override bool NotNullObjectEquals(ClepsType obj)
        {
            if (obj.GetType() != typeof(ArrayClepsType))
            {
                return(false);
            }

            ArrayClepsType objToCompare = obj as ArrayClepsType;

            return(BaseType == objToCompare.BaseType && Dimensions.SequenceEqual(objToCompare.Dimensions));
        }
示例#8
0
        public override bool NotNullObjectEquals(ClepsType obj)
        {
            if (obj.GetType() != typeof(PointerClepsType))
            {
                return(false);
            }

            PointerClepsType objToCompare = obj as PointerClepsType;

            return(BaseType == objToCompare.BaseType);
        }
示例#9
0
 public ArrayClepsType(ClepsType baseType, long[] dimensions) : base(true, false, false, false, false)
 {
     BaseType   = baseType;
     Dimensions = dimensions;
 }
示例#10
0
 public FunctionClepsType(List <ClepsType> parameterTypes, ClepsType returnType) : base(false, true, false, false, false)
 {
     ParameterTypes = parameterTypes;
     ReturnType     = returnType;
 }
示例#11
0
 public PointerClepsType(ClepsType baseType) : base(false, false, false, true, false)
 {
     BaseType = baseType;
 }