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

            return(true);
        }
Example #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));
        }
Example #6
0
        public override bool NotNullObjectEquals(ClepsType obj)
        {
            if (obj.GetType() != typeof(BasicStaticClepsType))
            {
                return(false);
            }

            BasicStaticClepsType objToCompare = obj as BasicStaticClepsType;

            return(RawTypeName == objToCompare.RawTypeName);
        }
Example #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));
        }
Example #8
0
        public override bool NotNullObjectEquals(ClepsType obj)
        {
            if (obj.GetType() != typeof(PointerClepsType))
            {
                return(false);
            }

            PointerClepsType objToCompare = obj as PointerClepsType;

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