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

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

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

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

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

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

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