Beispiel #1
0
        static ArrayPrototype()
        {
            Value           = MondPrototypeBinder.Bind(typeof(ArrayPrototype));
            Value.Prototype = ValuePrototype.Value;

            Value.Lock();
        }
Beispiel #2
0
        static StringPrototype()
        {
            Value           = MondPrototypeBinder.Bind(typeof(StringPrototype));
            Value.Prototype = ValuePrototype.Value;

            Value.Lock();
        }
Beispiel #3
0
        static FunctionPrototype()
        {
            Value           = MondPrototypeBinder.Bind(typeof(FunctionPrototype));
            Value.Prototype = ValuePrototype.Value;

            Value.Lock();
        }
Beispiel #4
0
        static NumberPrototype()
        {
            ValueReadOnly           = MondPrototypeBinder.Bind(typeof(NumberPrototype));
            ValueReadOnly.Prototype = ValuePrototype.Value;

            ValueReadOnly.Lock();
        }
Beispiel #5
0
        static ObjectPrototype()
        {
            Value           = MondPrototypeBinder.Bind(typeof(ObjectPrototype));
            Value.Prototype = ValuePrototype.Value;

            Value.Lock();
        }
Beispiel #6
0
        static ArrayPrototype()
        {
            ValueReadOnly           = MondPrototypeBinder.Bind(typeof(ArrayPrototype));
            ValueReadOnly.Prototype = ValuePrototype.Value;

            ValueReadOnly.Lock();
        }
Beispiel #7
0
        static ValuePrototype()
        {
            Value = MondPrototypeBinder.Bind(typeof(ValuePrototype));

            // we dont use MondValue.Prototype here because this should not have a prototype
            Value.ObjectValue.Prototype = MondValue.Undefined;

            Value.Lock();
        }