public object Resolve(IIdentifer ident) { if (!(Scope is IConstRefBase cr)) { return(GetNative(ident.ToText())); } if (cr.Scope.TryGetValue(ident.ToText(), out var obj)) { return(obj); } return(null); }
public virtual bool Equals(IIdentifer other) { return(other.GetIdentifierType().Equals(TypeCode.Int32) && other.GetIdentifier().Equals(Identifer)); }
public bool Equals(IIdentifer other) { return(other.GetIdentifierType().Equals(TypeCode.String) && other.GetIdentifier().Equals(Defination)); }