public ServerImpl() { sqlManager = new SQLManager(); compiler = new SDSE_Compiler(); compiler.AddIObjectWithMembers("Max", new Max()); compiler.AddIObjectWithMembers("Mean", new Mean()); compiler.AddIObjectWithMembers("Min", new Min()); compiler.AddIObjectWithMembers("Abs", new Abs()); compiler.AddIObjectWithMembers("IfElse", new IfElse()); }
public I_Types(SDSE_Compiler compiler, ref Dictionary <string, IObject_Constructor> types) { constructors = new Dictionary <IObjectType, IObject_Constructor> { { IObjectType.I_Int, new I_Int_Constructor() }, { IObjectType.I_String, new I_String_Constructor() }, { IObjectType.I_Float, new I_Float_Constructor() }, }; types.Add("String", GetConstructor(IObjectType.I_String)); types.Add("Float", GetConstructor(IObjectType.I_Float)); types.Add("Int", GetConstructor(IObjectType.I_Int)); }
public I_Types(SDSE_Compiler compiler, ref Dictionary<string, IObject_Constructor> types) { constructors = new Dictionary<IObjectType, IObject_Constructor> { {IObjectType.I_Int, new I_Int_Constructor()}, {IObjectType.I_String, new I_String_Constructor()}, {IObjectType.I_Float, new I_Float_Constructor()}, }; types.Add("String", GetConstructor(IObjectType.I_String)); types.Add("Float", GetConstructor(IObjectType.I_Float)); types.Add("Int", GetConstructor(IObjectType.I_Int)); }
public IBracketHandler(SDSE_Compiler compiler) { Name = ""; rootCompiler = compiler; insideString = new StringBuilder(); }