Exemple #1
0
            public OperatorsHolder(CoreTypes ct)
            {
                SetValue_PhpValueRef_PhpValue = ct.Operators.Method("SetValue", ct.PhpValue, ct.PhpValue);
                EnsureObject_ObjectRef        = ct.Operators.Method("EnsureObject", ct.Object);
                EnsureArray_PhpArrayRef       = ct.Operators.Method("EnsureArray", ct.PhpArray);
                IsSet_PhpValue = ct.Operators.Method("IsSet", ct.PhpValue);

                ToString_Bool           = ct.Convert.Method("ToString", ct.Boolean);
                ToString_Int32          = ct.Convert.Method("ToString", ct.Int32);
                ToString_Long           = ct.Convert.Method("ToString", ct.Long);
                ToString_Double_Context = ct.Convert.Method("ToString", ct.Double, ct.Context);
                Long_ToString           = ct.Long.Method("ToString");
                ToBoolean_String        = ct.Convert.Method("ToBoolean", ct.String);
                ToBoolean_PhpValue      = new CoreExplicitCast(ct.PhpValue, ct.Boolean);
                ToBoolean_Object        = ct.Convert.Method("ToBoolean", ct.Object);
                ToLong_PhpValue         = new CoreExplicitCast(ct.PhpValue, ct.Long);
                ToDouble_PhpValue       = new CoreExplicitCast(ct.PhpValue, ct.Double);

                AsObject_PhpValue       = ct.Convert.Method("AsObject", ct.PhpValue);
                AsArray_PhpValue        = ct.Convert.Method("AsArray", ct.PhpValue);
                ToClass_PhpValue        = ct.Convert.Method("ToClass", ct.PhpValue);
                AsCallable_PhpValue     = ct.Convert.Method("AsCallable", ct.PhpValue);
                AsCallable_String       = ct.Convert.Method("AsCallable", ct.String);
                ToIntStringKey_PhpValue = ct.Convert.Method("ToIntStringKey", ct.PhpValue);

                Echo_String    = ct.Context.Method("Echo", ct.String);
                Echo_PhpString = ct.Context.Method("Echo", ct.PhpString);
                Echo_PhpNumber = ct.Context.Method("Echo", ct.PhpNumber);
                Echo_PhpValue  = ct.Context.Method("Echo", ct.PhpValue);
                Echo_Object    = ct.Context.Method("Echo", ct.Object);
                Echo_Double    = ct.Context.Method("Echo", ct.Double);
                Echo_Long      = ct.Context.Method("Echo", ct.Long);
                Echo_Int32     = ct.Context.Method("Echo", ct.Int32);

                GetForeachEnumerator_PhpValue_Bool_RuntimeTypeHandle = ct.Operators.Method("GetForeachEnumerator", ct.PhpValue, ct.Boolean, ct.RuntimeTypeHandle);

                Ceq_long_double       = ct.Comparison.Method("Ceq", ct.Long, ct.Double);
                Ceq_long_bool         = ct.Comparison.Method("Ceq", ct.Long, ct.Boolean);
                Ceq_long_string       = ct.Comparison.Method("Ceq", ct.Long, ct.String);
                Ceq_double_string     = ct.Comparison.Method("Ceq", ct.Double, ct.String);
                Ceq_string_long       = ct.Comparison.Method("Ceq", ct.String, ct.Long);
                Ceq_string_double     = ct.Comparison.Method("Ceq", ct.String, ct.Double);
                Ceq_string_bool       = ct.Comparison.Method("Ceq", ct.String, ct.Boolean);
                Clt_long_double       = ct.Comparison.Method("Clt", ct.Long, ct.Double);
                Cgt_long_double       = ct.Comparison.Method("Cgt", ct.Long, ct.Double);
                Compare_bool_bool     = ct.Comparison.Method("Compare", ct.Boolean, ct.Boolean);
                Compare_number_value  = ct.Comparison.Method("Compare", ct.PhpNumber, ct.PhpValue);
                Compare_long_value    = ct.Comparison.Method("Compare", ct.Long, ct.PhpValue);
                Compare_double_value  = ct.Comparison.Method("Compare", ct.Double, ct.PhpValue);
                Compare_bool_value    = ct.Comparison.Method("Compare", ct.Boolean, ct.PhpValue);
                Compare_value_value   = ct.Comparison.Method("Compare", ct.PhpValue, ct.PhpValue);
                Compare_string_string = ct.Comparison.Method("Compare", ct.String, ct.String);
                Compare_string_long   = ct.Comparison.Method("Compare", ct.String, ct.Long);
                Compare_string_double = ct.Comparison.Method("Compare", ct.String, ct.Double);
                Compare_string_value  = ct.Comparison.Method("Compare", ct.String, ct.PhpValue);

                StrictCeq_bool_PhpValue     = ct.StrictComparison.Method("Ceq", ct.Boolean, ct.PhpValue);
                StrictCeq_long_PhpValue     = ct.StrictComparison.Method("Ceq", ct.Long, ct.PhpValue);
                StrictCeq_double_PhpValue   = ct.StrictComparison.Method("Ceq", ct.Double, ct.PhpValue);
                StrictCeq_PhpValue_PhpValue = ct.StrictComparison.Method("Ceq", ct.PhpValue, ct.PhpValue);
                StrictCeq_PhpValue_bool     = ct.StrictComparison.Method("Ceq", ct.PhpValue, ct.Boolean);
            }
Exemple #2
0
            public OperatorsHolder(CoreTypes ct)
            {
                SetValue_PhpValueRef_PhpValue              = ct.Operators.Method("SetValue", ct.PhpValue, ct.PhpValue);
                EnsureObject_ObjectRef                     = ct.Operators.Method("EnsureObject", ct.Object);
                EnsureArray_PhpArrayRef                    = ct.Operators.Method("EnsureArray", ct.PhpArray);
                EnsureArray_IPhpArrayRef                   = ct.Operators.Method("EnsureArray", ct.IPhpArray);
                EnsureArray_ArrayAccess                    = ct.Operators.Method("EnsureArray", ct.ArrayAccess);
                GetItemValue_String_IntStringKey           = ct.Operators.Method("GetItemValue", ct.String, ct.IntStringKey);
                GetItemValue_String_Int                    = ct.Operators.Method("GetItemValue", ct.String, ct.Int32);
                GetItemValue_PhpValue_IntStringKey_Bool    = ct.Operators.Method("GetItemValue", ct.PhpValue, ct.IntStringKey, ct.Boolean);
                EnsureItemAlias_PhpValue_IntStringKey_Bool = ct.Operators.Method("EnsureItemAlias", ct.PhpValue, ct.IntStringKey, ct.Boolean);
                IsSet_PhpValue       = ct.Operators.Method("IsSet", ct.PhpValue);
                IsEmpty_PhpValue     = ct.Operators.Method("IsEmpty", ct.PhpValue);
                IsNullOrEmpty_String = ct.String.Method("IsNullOrEmpty", ct.String);
                Concat_String_String = ct.String.Method("Concat", ct.String, ct.String);

                ToString_Bool             = ct.Convert.Method("ToString", ct.Boolean);
                ToString_Int32            = ct.Convert.Method("ToString", ct.Int32);
                ToString_Long             = ct.Convert.Method("ToString", ct.Long);
                ToString_Double_Context   = ct.Convert.Method("ToString", ct.Double, ct.Context);
                Long_ToString             = ct.Long.Method("ToString");
                ToBoolean_String          = ct.Convert.Method("ToBoolean", ct.String);
                ToBoolean_PhpValue        = new CoreExplicitCast(ct.PhpValue, ct.Boolean);
                ToBoolean_Object          = ct.Convert.Method("ToBoolean", ct.Object);
                ToBoolean_IPhpConvertible = ct.Convert.Method("ToBoolean", ct.IPhpConvertible);
                ToLong_PhpValue           = new CoreExplicitCast(ct.PhpValue, ct.Long);
                ToDouble_PhpValue         = new CoreExplicitCast(ct.PhpValue, ct.Double);
                ToNumber_PhpValue         = ct.Convert.Method("ToNumber", ct.PhpValue);
                ToNumber_String           = ct.Convert.Method("ToNumber", ct.String);
                ToLong_String             = ct.Convert.Method("StringToLongInteger", ct.String);
                ToDouble_String           = ct.Convert.Method("StringToDouble", ct.String);

                AsObject_PhpValue               = ct.Convert.Method("AsObject", ct.PhpValue);
                AsArray_PhpValue                = ct.Convert.Method("AsArray", ct.PhpValue);
                ToArray_PhpValue                = ct.Convert.Method("ToArray", ct.PhpValue);
                ToPhpString_PhpValue_Context    = ct.Convert.Method("ToPhpString", ct.PhpValue, ct.Context);
                ToClass_PhpValue                = ct.Convert.Method("ToClass", ct.PhpValue);
                ToClass_IPhpArray               = ct.Convert.Method("ToClass", ct.IPhpArray);
                AsCallable_PhpValue             = ct.Convert.Method("AsCallable", ct.PhpValue);
                AsCallable_String               = ct.Convert.Method("AsCallable", ct.String);
                IsInstanceOf_Object_PhpTypeInfo = ct.Convert.Method("IsInstanceOf", ct.Object, ct.PhpTypeInfo);
                ToIntStringKey_PhpValue         = ct.Convert.Method("ToIntStringKey", ct.PhpValue);

                Echo_String    = ct.Context.Method("Echo", ct.String);
                Echo_PhpString = ct.Context.Method("Echo", ct.PhpString);
                Echo_PhpNumber = ct.Context.Method("Echo", ct.PhpNumber);
                Echo_PhpValue  = ct.Context.Method("Echo", ct.PhpValue);
                Echo_Object    = ct.Context.Method("Echo", ct.Object);
                Echo_Double    = ct.Context.Method("Echo", ct.Double);
                Echo_Long      = ct.Context.Method("Echo", ct.Long);
                Echo_Int32     = ct.Context.Method("Echo", ct.Int32);

                GetForeachEnumerator_PhpValue_Bool_RuntimeTypeHandle = ct.Operators.Method("GetForeachEnumerator", ct.PhpValue, ct.Boolean, ct.RuntimeTypeHandle);

                Clone_Context_Object = ct.Operators.Method("Clone", ct.Context, ct.Object);
                BuildClosure_RoutineInfo_PhpArray_PhpArray         = ct.Operators.Method("BuildClosure", ct.RoutineInfo, ct.PhpArray, ct.PhpArray);
                Eval_Context_PhpArray_object_string_string_int_int = ct.Operators.Method("Eval", ct.Context, ct.PhpArray, ct.Object, ct.String, ct.String, ct.Int32, ct.Int32);
                GetName_PhpTypeInfo = ct.PhpTypeInfo.Property("Name");

                offsetGet_ArrayAccess_PhpValue = ct.ArrayAccess.Method("offsetGet", ct.PhpValue);

                Ceq_long_double       = ct.Comparison.Method("Ceq", ct.Long, ct.Double);
                Ceq_long_bool         = ct.Comparison.Method("Ceq", ct.Long, ct.Boolean);
                Ceq_long_string       = ct.Comparison.Method("Ceq", ct.Long, ct.String);
                Ceq_double_string     = ct.Comparison.Method("Ceq", ct.Double, ct.String);
                Ceq_string_long       = ct.Comparison.Method("Ceq", ct.String, ct.Long);
                Ceq_string_double     = ct.Comparison.Method("Ceq", ct.String, ct.Double);
                Ceq_string_bool       = ct.Comparison.Method("Ceq", ct.String, ct.Boolean);
                CeqNull_value         = ct.Comparison.Method("CeqNull", ct.PhpValue);
                Clt_long_double       = ct.Comparison.Method("Clt", ct.Long, ct.Double);
                Cgt_long_double       = ct.Comparison.Method("Cgt", ct.Long, ct.Double);
                Compare_bool_bool     = ct.Comparison.Method("Compare", ct.Boolean, ct.Boolean);
                Compare_number_value  = ct.Comparison.Method("Compare", ct.PhpNumber, ct.PhpValue);
                Compare_long_value    = ct.Comparison.Method("Compare", ct.Long, ct.PhpValue);
                Compare_double_value  = ct.Comparison.Method("Compare", ct.Double, ct.PhpValue);
                Compare_bool_value    = ct.Comparison.Method("Compare", ct.Boolean, ct.PhpValue);
                Compare_value_value   = ct.Comparison.Method("Compare", ct.PhpValue, ct.PhpValue);
                Compare_string_string = ct.Comparison.Method("Compare", ct.String, ct.String);
                Compare_string_long   = ct.Comparison.Method("Compare", ct.String, ct.Long);
                Compare_string_double = ct.Comparison.Method("Compare", ct.String, ct.Double);
                Compare_string_value  = ct.Comparison.Method("Compare", ct.String, ct.PhpValue);

                StrictCeq_bool_PhpValue     = ct.StrictComparison.Method("Ceq", ct.Boolean, ct.PhpValue);
                StrictCeq_long_PhpValue     = ct.StrictComparison.Method("Ceq", ct.Long, ct.PhpValue);
                StrictCeq_double_PhpValue   = ct.StrictComparison.Method("Ceq", ct.Double, ct.PhpValue);
                StrictCeq_PhpValue_PhpValue = ct.StrictComparison.Method("Ceq", ct.PhpValue, ct.PhpValue);
                StrictCeq_PhpValue_bool     = ct.StrictComparison.Method("Ceq", ct.PhpValue, ct.Boolean);

                Div_PhpValue_PhpValue        = ct.PhpValue.Method(WellKnownMemberNames.DivisionOperatorName, ct.PhpValue, ct.PhpValue);
                Div_long_PhpValue            = ct.PhpValue.Method(WellKnownMemberNames.DivisionOperatorName, ct.Long, ct.PhpValue);
                Div_double_PhpValue          = ct.PhpValue.Method(WellKnownMemberNames.DivisionOperatorName, ct.Double, ct.PhpValue);
                BitwiseOr_PhpValue_PhpValue  = ct.PhpValue.Method(WellKnownMemberNames.BitwiseOrOperatorName, ct.PhpValue, ct.PhpValue);
                BitwiseAnd_PhpValue_PhpValue = ct.PhpValue.Method(WellKnownMemberNames.BitwiseAndOperatorName, ct.PhpValue, ct.PhpValue);
                BitwiseXor_PhpValue_PhpValue = ct.PhpValue.Method(WellKnownMemberNames.ExclusiveOrOperatorName, ct.PhpValue, ct.PhpValue);
                BitwiseNot_PhpValue          = ct.PhpValue.Method(WellKnownMemberNames.OnesComplementOperatorName, ct.PhpValue);
            }
Exemple #3
0
            public OperatorsHolder(CoreTypes ct)
            {
                SetValue_PhpValueRef_PhpValue = ct.Operators.Method("SetValue", ct.PhpValue, ct.PhpValue);
                EnsureObject_ObjectRef        = ct.Operators.Method("EnsureObject", ct.Object);
                EnsureArray_PhpArrayRef       = ct.Operators.Method("EnsureArray", ct.PhpArray);
                EnsureArray_IPhpArrayRef      = ct.Operators.Method("EnsureArray", ct.IPhpArray);
                IsSet_PhpValue   = ct.Operators.Method("IsSet", ct.PhpValue);
                IsEmpty_PhpValue = ct.Operators.Method("IsEmpty", ct.PhpValue);

                ToString_Bool           = ct.Convert.Method("ToString", ct.Boolean);
                ToString_Int32          = ct.Convert.Method("ToString", ct.Int32);
                ToString_Long           = ct.Convert.Method("ToString", ct.Long);
                ToString_Double_Context = ct.Convert.Method("ToString", ct.Double, ct.Context);
                Long_ToString           = ct.Long.Method("ToString");
                ToBoolean_String        = ct.Convert.Method("ToBoolean", ct.String);
                ToBoolean_PhpValue      = new CoreExplicitCast(ct.PhpValue, ct.Boolean);
                ToBoolean_Object        = ct.Convert.Method("ToBoolean", ct.Object);
                ToLong_PhpValue         = new CoreExplicitCast(ct.PhpValue, ct.Long);
                ToDouble_PhpValue       = new CoreExplicitCast(ct.PhpValue, ct.Double);
                ToNumber_PhpValue       = ct.Convert.Method("ToNumber", ct.PhpValue);
                ToLong_String           = ct.Convert.Method("StringToLongInteger", ct.String);
                ToDouble_String         = ct.Convert.Method("StringToDouble", ct.String);

                AsObject_PhpValue               = ct.Convert.Method("AsObject", ct.PhpValue);
                AsArray_PhpValue                = ct.Convert.Method("AsArray", ct.PhpValue);
                ToClass_PhpValue                = ct.Convert.Method("ToClass", ct.PhpValue);
                ToClass_IPhpArray               = ct.Convert.Method("ToClass", ct.IPhpArray);
                AsCallable_PhpValue             = ct.Convert.Method("AsCallable", ct.PhpValue);
                AsCallable_String               = ct.Convert.Method("AsCallable", ct.String);
                IsInstanceOf_Object_PhpTypeInfo = ct.Convert.Method("IsInstanceOf", ct.Object, ct.PhpTypeInfo);
                ToIntStringKey_PhpValue         = ct.Convert.Method("ToIntStringKey", ct.PhpValue);

                Echo_String    = ct.Context.Method("Echo", ct.String);
                Echo_PhpString = ct.Context.Method("Echo", ct.PhpString);
                Echo_PhpNumber = ct.Context.Method("Echo", ct.PhpNumber);
                Echo_PhpValue  = ct.Context.Method("Echo", ct.PhpValue);
                Echo_Object    = ct.Context.Method("Echo", ct.Object);
                Echo_Double    = ct.Context.Method("Echo", ct.Double);
                Echo_Long      = ct.Context.Method("Echo", ct.Long);
                Echo_Int32     = ct.Context.Method("Echo", ct.Int32);

                GetForeachEnumerator_PhpValue_Bool_RuntimeTypeHandle = ct.Operators.Method("GetForeachEnumerator", ct.PhpValue, ct.Boolean, ct.RuntimeTypeHandle);

                Ceq_long_double       = ct.Comparison.Method("Ceq", ct.Long, ct.Double);
                Ceq_long_bool         = ct.Comparison.Method("Ceq", ct.Long, ct.Boolean);
                Ceq_long_string       = ct.Comparison.Method("Ceq", ct.Long, ct.String);
                Ceq_double_string     = ct.Comparison.Method("Ceq", ct.Double, ct.String);
                Ceq_string_long       = ct.Comparison.Method("Ceq", ct.String, ct.Long);
                Ceq_string_double     = ct.Comparison.Method("Ceq", ct.String, ct.Double);
                Ceq_string_bool       = ct.Comparison.Method("Ceq", ct.String, ct.Boolean);
                Clt_long_double       = ct.Comparison.Method("Clt", ct.Long, ct.Double);
                Cgt_long_double       = ct.Comparison.Method("Cgt", ct.Long, ct.Double);
                Compare_bool_bool     = ct.Comparison.Method("Compare", ct.Boolean, ct.Boolean);
                Compare_number_value  = ct.Comparison.Method("Compare", ct.PhpNumber, ct.PhpValue);
                Compare_long_value    = ct.Comparison.Method("Compare", ct.Long, ct.PhpValue);
                Compare_double_value  = ct.Comparison.Method("Compare", ct.Double, ct.PhpValue);
                Compare_bool_value    = ct.Comparison.Method("Compare", ct.Boolean, ct.PhpValue);
                Compare_value_value   = ct.Comparison.Method("Compare", ct.PhpValue, ct.PhpValue);
                Compare_string_string = ct.Comparison.Method("Compare", ct.String, ct.String);
                Compare_string_long   = ct.Comparison.Method("Compare", ct.String, ct.Long);
                Compare_string_double = ct.Comparison.Method("Compare", ct.String, ct.Double);
                Compare_string_value  = ct.Comparison.Method("Compare", ct.String, ct.PhpValue);

                StrictCeq_bool_PhpValue     = ct.StrictComparison.Method("Ceq", ct.Boolean, ct.PhpValue);
                StrictCeq_long_PhpValue     = ct.StrictComparison.Method("Ceq", ct.Long, ct.PhpValue);
                StrictCeq_double_PhpValue   = ct.StrictComparison.Method("Ceq", ct.Double, ct.PhpValue);
                StrictCeq_PhpValue_PhpValue = ct.StrictComparison.Method("Ceq", ct.PhpValue, ct.PhpValue);
                StrictCeq_PhpValue_bool     = ct.StrictComparison.Method("Ceq", ct.PhpValue, ct.Boolean);

                Div_PhpValue_PhpValue        = ct.PhpValue.Method(WellKnownMemberNames.DivisionOperatorName, ct.PhpValue, ct.PhpValue);
                Div_long_PhpValue            = ct.PhpValue.Method(WellKnownMemberNames.DivisionOperatorName, ct.Long, ct.PhpValue);
                Div_double_PhpValue          = ct.PhpNumber.Method(WellKnownMemberNames.DivisionOperatorName, ct.Double, ct.PhpValue);
                BitwiseOr_PhpValue_PhpValue  = ct.PhpValue.Method(WellKnownMemberNames.BitwiseOrOperatorName, ct.PhpValue, ct.PhpValue);
                BitwiseAnd_PhpValue_PhpValue = ct.PhpValue.Method(WellKnownMemberNames.BitwiseAndOperatorName, ct.PhpValue, ct.PhpValue);
                BitwiseNot_PhpValue          = ct.PhpValue.Method(WellKnownMemberNames.OnesComplementOperatorName, ct.PhpValue);
            }
Exemple #4
0
            public OperatorsHolder(CoreTypes ct)
            {
                SetValue_PhpValueRef_PhpValue = ct.Operators.Method("SetValue", ct.PhpValue, ct.PhpValue);
                EnsureObject_ObjectRef = ct.Operators.Method("EnsureObject", ct.Object);
                EnsureArray_PhpArrayRef = ct.Operators.Method("EnsureArray", ct.PhpArray);
                EnsureArray_IPhpArrayRef = ct.Operators.Method("EnsureArray", ct.IPhpArray);
                IsSet_PhpValue = ct.Operators.Method("IsSet", ct.PhpValue);
                IsEmpty_PhpValue = ct.Operators.Method("IsEmpty", ct.PhpValue);

                ToString_Bool = ct.Convert.Method("ToString", ct.Boolean);
                ToString_Int32 = ct.Convert.Method("ToString", ct.Int32);
                ToString_Long = ct.Convert.Method("ToString", ct.Long);
                ToString_Double_Context = ct.Convert.Method("ToString", ct.Double, ct.Context);
                Long_ToString = ct.Long.Method("ToString");
                ToBoolean_String = ct.Convert.Method("ToBoolean", ct.String);
                ToBoolean_PhpValue = new CoreExplicitCast(ct.PhpValue, ct.Boolean);
                ToBoolean_Object = ct.Convert.Method("ToBoolean", ct.Object);
                ToLong_PhpValue = new CoreExplicitCast(ct.PhpValue, ct.Long);
                ToDouble_PhpValue = new CoreExplicitCast(ct.PhpValue, ct.Double);
                ToNumber_PhpValue = ct.Convert.Method("ToNumber", ct.PhpValue);
                ToLong_String = ct.Convert.Method("StringToLongInteger", ct.String);
                ToDouble_String = ct.Convert.Method("StringToDouble", ct.String);

                AsObject_PhpValue = ct.Convert.Method("AsObject", ct.PhpValue);
                ToArray_PhpValue = ct.Convert.Method("ToArray", ct.PhpValue);
                ToClass_PhpValue = ct.Convert.Method("ToClass", ct.PhpValue);
                ToClass_IPhpArray = ct.Convert.Method("ToClass", ct.IPhpArray);
                AsCallable_PhpValue = ct.Convert.Method("AsCallable", ct.PhpValue);
                AsCallable_String = ct.Convert.Method("AsCallable", ct.String);
                IsInstanceOf_Object_PhpTypeInfo = ct.Convert.Method("IsInstanceOf", ct.Object, ct.PhpTypeInfo);
                ToIntStringKey_PhpValue = ct.Convert.Method("ToIntStringKey", ct.PhpValue);

                Echo_String = ct.Context.Method("Echo", ct.String);
                Echo_PhpString = ct.Context.Method("Echo", ct.PhpString);
                Echo_PhpNumber = ct.Context.Method("Echo", ct.PhpNumber);
                Echo_PhpValue = ct.Context.Method("Echo", ct.PhpValue);
                Echo_Object = ct.Context.Method("Echo", ct.Object);
                Echo_Double = ct.Context.Method("Echo", ct.Double);
                Echo_Long = ct.Context.Method("Echo", ct.Long);
                Echo_Int32 = ct.Context.Method("Echo", ct.Int32);

                GetForeachEnumerator_PhpValue_Bool_RuntimeTypeHandle = ct.Operators.Method("GetForeachEnumerator", ct.PhpValue, ct.Boolean, ct.RuntimeTypeHandle);

                Ceq_long_double = ct.Comparison.Method("Ceq", ct.Long, ct.Double);
                Ceq_long_bool = ct.Comparison.Method("Ceq", ct.Long, ct.Boolean);
                Ceq_long_string = ct.Comparison.Method("Ceq", ct.Long, ct.String);
                Ceq_double_string = ct.Comparison.Method("Ceq", ct.Double, ct.String);
                Ceq_string_long = ct.Comparison.Method("Ceq", ct.String, ct.Long);
                Ceq_string_double = ct.Comparison.Method("Ceq", ct.String, ct.Double);
                Ceq_string_bool = ct.Comparison.Method("Ceq", ct.String, ct.Boolean);
                Clt_long_double = ct.Comparison.Method("Clt", ct.Long, ct.Double);
                Cgt_long_double = ct.Comparison.Method("Cgt", ct.Long, ct.Double);
                Compare_bool_bool = ct.Comparison.Method("Compare", ct.Boolean, ct.Boolean);
                Compare_number_value = ct.Comparison.Method("Compare", ct.PhpNumber, ct.PhpValue);
                Compare_long_value = ct.Comparison.Method("Compare", ct.Long, ct.PhpValue);
                Compare_double_value = ct.Comparison.Method("Compare", ct.Double, ct.PhpValue);
                Compare_bool_value = ct.Comparison.Method("Compare", ct.Boolean, ct.PhpValue);
                Compare_value_value = ct.Comparison.Method("Compare", ct.PhpValue, ct.PhpValue);
                Compare_string_string = ct.Comparison.Method("Compare", ct.String, ct.String);
                Compare_string_long = ct.Comparison.Method("Compare", ct.String, ct.Long);
                Compare_string_double = ct.Comparison.Method("Compare", ct.String, ct.Double);
                Compare_string_value = ct.Comparison.Method("Compare", ct.String, ct.PhpValue);

                StrictCeq_bool_PhpValue = ct.StrictComparison.Method("Ceq", ct.Boolean, ct.PhpValue);
                StrictCeq_long_PhpValue = ct.StrictComparison.Method("Ceq", ct.Long, ct.PhpValue);
                StrictCeq_double_PhpValue = ct.StrictComparison.Method("Ceq", ct.Double, ct.PhpValue);
                StrictCeq_PhpValue_PhpValue = ct.StrictComparison.Method("Ceq", ct.PhpValue, ct.PhpValue);
                StrictCeq_PhpValue_bool = ct.StrictComparison.Method("Ceq", ct.PhpValue, ct.Boolean);

                Div_PhpValue_PhpValue = ct.PhpValue.Method(WellKnownMemberNames.DivisionOperatorName, ct.PhpValue, ct.PhpValue);
                Div_long_PhpValue = ct.PhpValue.Method(WellKnownMemberNames.DivisionOperatorName, ct.Long, ct.PhpValue);
                Div_double_PhpValue = ct.PhpNumber.Method(WellKnownMemberNames.DivisionOperatorName, ct.Double, ct.PhpValue);
                BitwiseOr_PhpValue_PhpValue = ct.PhpValue.Method(WellKnownMemberNames.BitwiseOrOperatorName, ct.PhpValue, ct.PhpValue);
                BitwiseAnd_PhpValue_PhpValue = ct.PhpValue.Method(WellKnownMemberNames.BitwiseAndOperatorName, ct.PhpValue, ct.PhpValue);
                BitwiseNot_PhpValue = ct.PhpValue.Method(WellKnownMemberNames.OnesComplementOperatorName, ct.PhpValue);
            }