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

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

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

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

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

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

            ValueReadOnly.Lock();
        }
Esempio n. 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();
        }