示例#1
0
        static ObjectPrototype()
        {
            ValueReadOnly           = MondPrototypeBinder.Bind(typeof(ObjectPrototype));
            ValueReadOnly.Prototype = ValuePrototype.Value;

            ValueReadOnly.Lock();
        }
示例#2
0
        static FunctionPrototype()
        {
            ValueReadOnly           = MondPrototypeBinder.Bind(typeof(FunctionPrototype));
            ValueReadOnly.Prototype = ValuePrototype.Value;

            ValueReadOnly.Lock();
        }
示例#3
0
        static ArrayPrototype()
        {
            ValueReadOnly           = MondPrototypeBinder.Bind(typeof(ArrayPrototype));
            ValueReadOnly.Prototype = ValuePrototype.Value;

            ValueReadOnly.Lock();
        }
示例#4
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();
        }