public PointerClepsType(ClepsType baseType) { BaseType = baseType; IsArrayType = false; IsFunctionType = false; IsStaticType = false; }
public FunctionClepsType(List <ClepsType> parameterTypes, ClepsType returnType) { ParameterTypes = parameterTypes; ReturnType = returnType; IsArrayType = false; IsFunctionType = true; IsStaticType = false; }
public ArrayClepsType(ClepsType baseType, long[] dimensions) { BaseType = baseType; Dimensions = dimensions; IsArrayType = true; IsFunctionType = false; IsStaticType = false; }
public override bool NotNullObjectEquals(ClepsType obj) { if (obj.GetType() != typeof(VoidClepsType)) { return(false); } return(true); }
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)); }
public override bool NotNullObjectEquals(ClepsType obj) { if (obj.GetType() != typeof(BasicStaticClepsType)) { return(false); } BasicStaticClepsType objToCompare = obj as BasicStaticClepsType; return(RawTypeName == objToCompare.RawTypeName); }
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)); }
public override bool NotNullObjectEquals(ClepsType obj) { if (obj.GetType() != typeof(PointerClepsType)) { return(false); } PointerClepsType objToCompare = obj as PointerClepsType; return(BaseType == objToCompare.BaseType); }
public ArrayClepsType(ClepsType baseType, long[] dimensions) : base(true, false, false, false, false) { BaseType = baseType; Dimensions = dimensions; }
public FunctionClepsType(List <ClepsType> parameterTypes, ClepsType returnType) : base(false, true, false, false, false) { ParameterTypes = parameterTypes; ReturnType = returnType; }
public PointerClepsType(ClepsType baseType) : base(false, false, false, true, false) { BaseType = baseType; }