//public override object GetResult() //{ // if (AlreadyDefined) // return false; // if (InnerValue != null) // return InnerValue.GetResult(); // if (Referenced) // { // if (!Identifiers.IsDefined(Identifier)) // return null; // QIdentifier refId = Identifiers.GetIdentifier(Identifier); // return refId.GetResult(); // } // return null; //} public ExpressionBase GetValue() { if (InnerValue != null) { return(InnerValue);//.GetResult(); } if (Referenced) { if (!Identifiers.IsDefined(Identifier)) { return(null); } QIdentifier refId = Identifiers.GetIdentifier(Identifier); return(refId.GetValue()); } return(null); }
public override QBaseType GetType() { if (InnerType != null) { return(InnerType); } if (Referenced) { if (!Identifiers.IsDefined(Identifier)) { return(null); } QIdentifier refId = Identifiers.GetIdentifier(Identifier); return(refId.GetType()); } return(null); }