public void Init()
        {
            registry = RegistrySingleton.Instance;
              registry.ClearClasses();

              classId = registry.AddPrimitiveClass("numeric", DATA_TYPE.NUMERIC);
              cla = registry.GetClassById(classId);
        }
        public void Init()
        {
            registry = RegistrySingleton.Instance;
              registry.ClearClasses();

              classId = registry.AddPrimitiveClass("numeric", DATA_TYPE.NUMERIC);
              cla = registry.GetClassById(classId);
              cla.AddMethod("method", classId, new List<IArgument>() {registry.CreateArgument(classId) });
        }
        public void Init()
        {
            registry = RegistrySingleton.Instance;
              registry.ClearClasses();

              intId = registry.AddPrimitiveClass("numeric", DATA_TYPE.NUMERIC);
              intClass = registry.GetClassById(intId);
              intClass.AddMethod("method", intId, new List<IArgument>() { registry.CreateArgument(intId), registry.CreateArgument(intId) });

              intVar = new OperandeVariable(intId, "num");
        }
        public TestInit()
        {
            registry = RegistrySingleton.Instance;
              registry.ClearClasses();

              boolId = registry.AddPrimitiveClass("boolean", DATA_TYPE.BOOLEAN);
              strId = registry.AddPrimitiveClass("string", DATA_TYPE.STRING);
              dbId = registry.AddCustomClass("database");

              List<IArgument> inputs;

              registry
            .GetClassById(strId)
            .AddMethod("method", strId, new List<IArgument>() { registry.CreateArgument(strId) });
              registry
            .GetClassById(strId)
            .AddMethod("staticMethod", strId, new List<IArgument>() { registry.CreateArgument(strId) }, true);

              registry
            .GetClassById(dbId)
            .AddConstructor();
              registry
            .GetClassById(dbId)
            .AddConstructor(new List<IArgument>() { registry.CreateArgument(strId) });

              inputs = new List<IArgument>() { registry.CreateArgument(strId), registry.CreateArgument(strId) };
              registry
            .GetClassById(dbId)
            .AddMethod("method", strId, inputs);
              inputs = new List<IArgument>() { registry.CreateArgument(strId), registry.CreateArgument(strId) };
              registry
            .GetClassById(dbId)
            .AddMethod("staticMethod", strId, inputs, true);

              builder = ExpressionBuilder.GetBuilder(ref registry);
        }
 public void Init()
 {
     registry = RegistrySingleton.Instance;
       registry.ClearClasses();
 }
        public void Init()
        {
            registry = RegistrySingleton.Instance;
              registry.ClearClasses();

              classId = registry.AddPrimitiveClass("numeric", DATA_TYPE.NUMERIC);
              cla = registry.GetClassById(classId);
              newVar = new OperandeVariable(classId, "myVar", true);
        }
 public void Init()
 {
     registry = RegistrySingleton.Instance;
       registry.ClearClasses();
       intClass = registry.AddPrimitiveClass("numeric", DATA_TYPE.NUMERIC);
 }