static DValue() { Initializer.Run(typeof(Types.DValue), typeof(mdr.DValue)); Set = new MethodCache1(TypeOf, "Set", false); GetValueType = TypeOf.GetProperty("ValueType").GetGetMethod(); }
static JSSpeculationFailedException() { Initializer.Run(typeof(Types.JSSpeculationFailedException), typeof(mjr.JSSpeculationFailedException)); Throw = new MethodCache1(TypeOf, "Throw", false); }
static Operations() { //Initializer.Run(typeof(Types.Operations), typeof(mjr.Operations)); Assign = new MethodCache1(typeof(mjr.Operations.Assign), "Run"); }
static Unary() { //Initializer.Run(typeof(Types.Operations.Unary), typeof(mjr.Operations.Unary)); Delete = new MethodCache1(typeof(mjr.Operations.Unary.Delete), "Run"); DeleteProperty = new MethodCache2(typeof(mjr.Operations.Unary.DeleteProperty), "Run"); DeleteVariable = new MethodCache2(typeof(mjr.Operations.Unary.DeleteVariable), "Run"); Void = new MethodCache1(typeof(mjr.Operations.Unary.Void), "Run"); Typeof = new MethodCache1(typeof(mjr.Operations.Unary.Typeof), "Run"); Positive = new MethodCache1(typeof(mjr.Operations.Unary.Positive), "Run"); Negative = new MethodCache1(typeof(mjr.Operations.Unary.Negative), "Run"); BitwiseNot = new MethodCache1(typeof(mjr.Operations.Unary.BitwiseNot), "Run"); LogicalNot = new MethodCache1(typeof(mjr.Operations.Unary.LogicalNot), "Run"); }
static Convert() { //Initializer.Run(typeof(Types.Operations.Convert), typeof(mjr.Operations.Convert)); ToPrimitive = new MethodCache1(typeof(mjr.Operations.Convert.ToPrimitive), "Run"); ToBoolean = new MethodCache1(typeof(mjr.Operations.Convert.ToBoolean), "Run"); ToNumber = new MethodCache1(typeof(mjr.Operations.Convert.ToNumber), "Run"); ToDouble = new MethodCache1(typeof(mjr.Operations.Convert.ToDouble), "Run"); ToInt32 = new MethodCache1(typeof(mjr.Operations.Convert.ToInt32), "Run"); ToUInt32 = new MethodCache1(typeof(mjr.Operations.Convert.ToUInt32), "Run"); ToString = new MethodCache1(typeof(mjr.Operations.Convert.ToString), "Run"); ToObject = new MethodCache1(typeof(mjr.Operations.Convert.ToObject), "Run"); ToFunction = new MethodCache1(typeof(mjr.Operations.Convert.ToFunction), "Run"); }
static DObject() { Initializer.Run(typeof(DObject), typeof(mdr.DObject)); GetMap = TypeOf.GetProperty("Map").GetGetMethod(); SetMap = TypeOf.GetProperty("Map").GetSetMethod(); GetPrototype = TypeOf.GetProperty("Prototype").GetGetMethod(); GetTypeOf = TypeOf.GetMethod("GetTypeOf"); GetPropertyDescriptor = new MethodCache1(TypeOf, "GetPropertyDescriptor"); AddPropertyDescriptor = new MethodCache1(TypeOf, "AddPropertyDescriptor"); DeletePropertyDescriptor = new MethodCache1(TypeOf, "DeletePropertyDescriptor"); }