Пример #1
0
        public object Get(Context cx)
        {
            switch (type)
            {
            case Types.None:
                return(ScriptRuntime.getObjectProp(target, name, cx));

            case Types.Proto:
                return(target.GetPrototype());

            case Types.Parent:
                return(target.ParentScope);

            default:
                throw Context.CodeBug();
            }
        }