public RPNFunction FindFunction(RPNExpr expr, string func) { int index = functionList.IndexOfKey(func); if (index > -1) { Assembly assembly = Assembly.GetAssembly(functionList.Values[index]); RPNFunction rpnFunc = assembly.CreateInstance(functionList.Values[index].FullName) as RPNFunction; rpnFunc.Owner = expr; rpnFunc.ObjectType = RPNObjectType.Function; return(rpnFunc); } else { return(null); } }
public RPNVariable(RPNExpr owner, RPNObjectType objectType) : base(owner, objectType) { }
public RPNOperand(RPNExpr owner, RPNObjectType objectType) : base(owner, objectType) { }
public RPNDataField(RPNExpr owner, RPNObjectType objectType) : base(owner, objectType) { }
public RPNObject(RPNExpr owner, RPNObjectType objectType) { Owner = owner; ObjectType = objectType; }