亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? scriptruntime.java

?? 主要的怎么樣結合java 和 javascript!
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
            Object result = topScopeName(cx, scope, name);            if (result == Scriptable.NOT_FOUND) {                throw notFoundError(scope, name);            }            return result;        }        return nameOrFunction(cx, scope, parent, name, false);    }    private static Object nameOrFunction(Context cx, Scriptable scope,                                         Scriptable parentScope, String name,                                         boolean asFunctionCall)    {        Object result;        Scriptable thisObj = scope; // It is used only if asFunctionCall==true.        XMLObject firstXMLObject = null;        for (;;) {            if (scope instanceof NativeWith) {                Scriptable withObj = scope.getPrototype();                if (withObj instanceof XMLObject) {                    XMLObject xmlObj = (XMLObject)withObj;                    if (xmlObj.ecmaHas(cx, name)) {                        // function this should be the target object of with                        thisObj = xmlObj;                        result = xmlObj.ecmaGet(cx, name);                        break;                    }                    if (firstXMLObject == null) {                        firstXMLObject = xmlObj;                    }                } else {                    result = ScriptableObject.getProperty(withObj, name);                    if (result != Scriptable.NOT_FOUND) {                        // function this should be the target object of with                        thisObj = withObj;                        break;                    }                }            } else if (scope instanceof NativeCall) {                // NativeCall does not prototype chain and Scriptable.get                // can be called directly.                result = scope.get(name, scope);                if (result != Scriptable.NOT_FOUND) {                    if (asFunctionCall) {                        // ECMA 262 requires that this for nested funtions                        // should be top scope                        thisObj = ScriptableObject.                                      getTopLevelScope(parentScope);                    }                    break;                }            } else {                // Can happen if Rhino embedding decided that nested                // scopes are useful for what ever reasons.                result = ScriptableObject.getProperty(scope, name);                if (result != Scriptable.NOT_FOUND) {                    thisObj = scope;                    break;                }            }            scope = parentScope;            parentScope = parentScope.getParentScope();            if (parentScope == null) {                result = topScopeName(cx, scope, name);                if (result == Scriptable.NOT_FOUND) {                    if (firstXMLObject == null || asFunctionCall) {                        throw notFoundError(scope, name);                    }                    // The name was not found, but we did find an XML                    // object in the scope chain and we are looking for name,                    // not function. The result should be an empty XMLList                    // in name context.                    result = firstXMLObject.ecmaGet(cx, name);                }                // For top scope thisObj for functions is always scope itself.                thisObj = scope;                break;            }        }        if (asFunctionCall) {            if (!(result instanceof Callable)) {                throw notFunctionError(result, name);            }            storeScriptable(cx, thisObj);        }        return result;    }    private static Object topScopeName(Context cx, Scriptable scope,                                       String name)    {        if (cx.useDynamicScope) {            scope = checkDynamicScope(cx.topCallScope, scope);        }        return ScriptableObject.getProperty(scope, name);    }    /**     * Returns the object in the scope chain that has a given property.     *     * The order of evaluation of an assignment expression involves     * evaluating the lhs to a reference, evaluating the rhs, and then     * modifying the reference with the rhs value. This method is used     * to 'bind' the given name to an object containing that property     * so that the side effects of evaluating the rhs do not affect     * which property is modified.     * Typically used in conjunction with setName.     *     * See ECMA 10.1.4     */    public static Scriptable bind(Context cx, Scriptable scope, String id)    {        Scriptable firstXMLObject = null;        Scriptable parent = scope.getParentScope();        childScopesChecks: if (parent != null) {            // Check for possibly nested "with" scopes first            while (scope instanceof NativeWith) {                Scriptable withObj = scope.getPrototype();                if (withObj instanceof XMLObject) {                    XMLObject xmlObject = (XMLObject)withObj;                    if (xmlObject.ecmaHas(cx, id)) {                        return xmlObject;                    }                    if (firstXMLObject == null) {                        firstXMLObject = xmlObject;                    }                } else {                    if (ScriptableObject.hasProperty(withObj, id)) {                        return withObj;                    }                }                scope = parent;                parent = parent.getParentScope();                if (parent == null) {                    break childScopesChecks;                }            }            for (;;) {                if (ScriptableObject.hasProperty(scope, id)) {                    return scope;                }                scope = parent;                parent = parent.getParentScope();                if (parent == null) {                    break childScopesChecks;                }            }        }        // scope here is top scope        if (cx.useDynamicScope) {            scope = checkDynamicScope(cx.topCallScope, scope);        }        if (ScriptableObject.hasProperty(scope, id)) {            return scope;        }        // Nothing was found, but since XML objects always bind        // return one if found        return firstXMLObject;    }    public static Object setName(Scriptable bound, Object value,                                 Context cx, Scriptable scope, String id)    {        if (bound != null) {            if (bound instanceof XMLObject) {                XMLObject xmlObject = (XMLObject)bound;                xmlObject.ecmaPut(cx, id, value);            } else {                ScriptableObject.putProperty(bound, id, value);            }        } else {            // "newname = 7;", where 'newname' has not yet            // been defined, creates a new property in the            // top scope unless strict mode is specified.            if (cx.hasFeature(Context.FEATURE_STRICT_VARS)) {                throw Context.reportRuntimeError1("msg.assn.create.strict", id);            }            // Find the top scope by walking up the scope chain.            bound = ScriptableObject.getTopLevelScope(scope);            if (cx.useDynamicScope) {                bound = checkDynamicScope(cx.topCallScope, bound);            }            bound.put(id, bound, value);        }        return value;    }    /**     * This is the enumeration needed by the for..in statement.     *     * See ECMA 12.6.3.     *     * IdEnumeration maintains a ObjToIntMap to make sure a given     * id is enumerated only once across multiple objects in a     * prototype chain.     *     * XXX - ECMA delete doesn't hide properties in the prototype,     * but js/ref does. This means that the js/ref for..in can     * avoid maintaining a hash table and instead perform lookups     * to see if a given property has already been enumerated.     *     */    private static class IdEnumeration    {        Scriptable obj;        Object[] ids;        int index;        ObjToIntMap used;        String currentId;        boolean enumValues;    }    public static Object enumInit(Object value, Context cx, boolean enumValues)    {        IdEnumeration x = new IdEnumeration();        x.obj = toObjectOrNull(cx, value);        if (x.obj != null) {            // null or undefined do not cause errors but rather lead to empty            // "for in" loop            x.enumValues = enumValues;            // enumInit should read all initial ids before returning            // or "for (a.i in a)" would wrongly enumerate i in a as well            enumChangeObject(x);        }        return x;    }    public static Boolean enumNext(Object enumObj)    {        // OPT this could be more efficient        boolean result;        IdEnumeration x = (IdEnumeration)enumObj;        for (;;) {            if (x.obj == null) {                result = false;                break;            }            if (x.index == x.ids.length) {                x.obj = x.obj.getPrototype();                enumChangeObject(x);                continue;            }            Object id = x.ids[x.index++];            if (x.used != null && x.used.has(id)) {                continue;            }            if (id instanceof String) {                String strId = (String)id;                if (!x.obj.has(strId, x.obj))                    continue;   // must have been deleted                x.currentId = strId;            } else {                int intId = ((Number)id).intValue();                if (!x.obj.has(intId, x.obj))                    continue;   // must have been deleted                x.currentId = String.valueOf(intId);            }            result = true;            break;        }        return wrapBoolean(result);    }    public static Object enumId(Object enumObj, Context cx)    {        IdEnumeration x = (IdEnumeration)enumObj;        if (!x.enumValues) return x.currentId;        Object result;        String s = toStringIdOrIndex(cx, x.currentId);        if (s == null) {            int index = lastIndexResult(cx);            result = x.obj.get(index, x.obj);        } else {            result = x.obj.get(s, x.obj);        }        return result;    }    private static void enumChangeObject(IdEnumeration x)    {        Object[] ids = null;        while (x.obj != null) {            ids = x.obj.getIds();            if (ids.length != 0) {                break;            }            x.obj = x.obj.getPrototype();        }        if (x.obj != null && x.ids != null) {            Object[] previous = x.ids;            int L = previous.length;            if (x.used == null) {                x.used = new ObjToIntMap(L);            }            for (int i = 0; i != L; ++i) {                x.used.intern(previous[i]);            }        }        x.ids = ids;        x.index = 0;    }    /**     * Prepare for calling name(...): return function corresponding to     * name and make current top scope available     * as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.     * The caller must call ScriptRuntime.lastStoredScriptable() immediately     * after calling this method.     */    public static Callable getNameFunctionAndThis(String name,                                                  Context cx,                                                  Scriptable scope)    {        Scriptable parent = scope.getParentScope();        if (parent == null) {            Object result = topScopeName(cx, scope, name);            if (!(result instanceof Callable)) {                if (result == Scriptable.NOT_FOUND) {                    throw notFoundError(scope, name);                } else {                    throw notFunctionError(result, name);                }            }            // Top scope is not NativeWith or NativeCall => thisObj == scope            Scriptable thisObj = scope;            storeScriptable(cx, thisObj);            return (Callable)result;        }        // name will call storeScriptable(cx, thisObj);        return (Callable)nameOrFunction(cx, scope, parent, name, true);    }    /**     * Prepare for calling obj[id](...): return function corresponding to     * obj[id] and make obj properly converted to Scriptable available     * as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.     * The caller must call ScriptRuntime.lastStoredScriptable() immediately     * after calling this method.     */    public static Callable getElemFunctionAndThis(Object obj,                                                  Object elem,                                                  Context cx)    {        String s = toStringIdOrIndex(cx, elem);        if (s != null) {            return getPropFunctionAndThis(obj, s, cx);        }        int index = lastIndexResult(cx);        Scriptable thisObj = toObjectOrNull(cx, obj);        if (thisObj == null) {            throw undefCallError(obj, String.valueOf(index));        }        Object value;        for (;;) {            // Ignore XML lookup as requred by ECMA 357, 11.2.2.1            value = ScriptableObject.getProperty(thisObj, index);            if (value != Scriptable.NOT_FOUND) {                break;            }            if (!(thisObj instanceof XMLObject)) {                break;            }            XMLObject xmlObject = (XMLObject)thisObj;            Scriptable extra = xmlObject.getExtraMethodSource(cx);            if (extra == null) {                break;            }            thisObj = extra;        }        if (!(value instanceof Callable)) {            throw notFunctionError(value, elem);        }        storeScriptable(cx, thisObj);        return (Callable)value;    }    /**     * Prepare for calling obj.property(...): return function corr

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费视频最近日韩| 成人免费在线观看入口| 日本欧美一区二区| 日韩欧美不卡在线观看视频| 奇米综合一区二区三区精品视频| 欧美久久久久久久久| 蜜乳av一区二区| 久久久五月婷婷| 成人a级免费电影| 一个色综合av| 欧美一区二区国产| 国产精品一区二区你懂的| 国产午夜精品一区二区| 99精品国产热久久91蜜凸| 夜夜精品视频一区二区| 欧美日韩国产美| 色婷婷国产精品综合在线观看| 99免费精品在线| 国产精品一区二区在线观看不卡| 亚洲伊人伊色伊影伊综合网| 国产精品视频一二三| 欧美偷拍一区二区| 日本一区二区高清| 91福利社在线观看| aaa欧美日韩| 国产一区二区三区黄视频 | 亚洲一区二区三区精品在线| 日韩欧美第一区| 亚洲欧美激情小说另类| 国产精品理论片| 一区二区三区国产| 午夜成人在线视频| 日本视频一区二区| 精品亚洲免费视频| 成人美女视频在线观看18| www.日韩在线| 精品视频在线免费观看| 欧美日韩精品综合在线| 欧美一级久久久久久久大片| 亚洲一级二级在线| 国产精品久久久久久久久免费桃花| 日韩电影在线观看一区| 亚洲成av人综合在线观看| 捆绑调教一区二区三区| 国产91高潮流白浆在线麻豆| 日本国产一区二区| 久久综合色之久久综合| 亚洲一区二区三区四区在线| 视频一区二区三区中文字幕| 99免费精品在线观看| 国产精品久久综合| 久久国产精品第一页| 99re这里只有精品首页| 日韩一区二区麻豆国产| 色就色 综合激情| 国内精品伊人久久久久影院对白| 亚洲福利视频导航| 国产日韩欧美不卡| 91精品国产乱| 欧美日韩一区二区三区在线| 成人精品视频.| 国产乱码精品一区二区三| 日日嗨av一区二区三区四区| 一区二区三区不卡在线观看| 亚洲国产成人在线| 久久美女艺术照精彩视频福利播放 | 日韩一区中文字幕| 久久嫩草精品久久久精品一| 日韩欧美一二三区| 日韩一区二区三区在线| 精品视频一区二区不卡| 欧美在线观看视频一区二区 | 欧美成人精品1314www| 色94色欧美sute亚洲线路一ni| 国产91高潮流白浆在线麻豆| 国产麻豆欧美日韩一区| 国产自产2019最新不卡| 国内成+人亚洲+欧美+综合在线 | 精品欧美一区二区在线观看| 欧美视频一区二区三区在线观看| 99视频在线精品| 国产aⅴ精品一区二区三区色成熟| 免费一级欧美片在线观看| 一区二区三区国产精华| 亚洲五月六月丁香激情| 亚洲美女偷拍久久| 国产精品久久久久久福利一牛影视 | 日韩一区精品视频| 日韩在线一二三区| 蜜臀久久99精品久久久久久9| 青草国产精品久久久久久| 麻豆成人久久精品二区三区小说| 麻豆91精品91久久久的内涵| 精品写真视频在线观看| 国产精品乡下勾搭老头1| 成人av资源在线观看| 色综合天天综合网国产成人综合天 | 日韩精品一区二区在线| 久久久久99精品一区| 国产精品久久三| 亚洲国产精品欧美一二99| 奇米影视7777精品一区二区| 久久精品国产亚洲a| 成人手机电影网| 欧美三级电影在线看| 日韩欧美123| 国产性做久久久久久| 一区二区三区四区不卡在线| 日本不卡1234视频| 国产二区国产一区在线观看| 一本一道波多野结衣一区二区| 91精品一区二区三区久久久久久| 精品久久国产字幕高潮| 国产精品久久久久久久久免费樱桃 | 爽好多水快深点欧美视频| 九九**精品视频免费播放| 国产精品夜夜嗨| 在线影院国内精品| 精品国产99国产精品| 亚洲免费观看高清| 美国十次了思思久久精品导航| av资源站一区| 欧美一级高清片在线观看| 国产精品网站在线播放| 午夜电影久久久| 成人激情文学综合网| 91精品国产高清一区二区三区蜜臀 | 国产精品三级av| 美女视频黄频大全不卡视频在线播放| 成人久久久精品乱码一区二区三区| 色婷婷综合五月| 久久久久久一二三区| 亚洲国产你懂的| 成人精品鲁一区一区二区| 91麻豆精品国产91久久久使用方法| 国产日韩精品一区二区三区在线| 亚洲图片欧美色图| 成人av第一页| 久久综合九色综合97婷婷| 亚洲成av人**亚洲成av**| 成人黄色电影在线| 欧美mv日韩mv亚洲| 亚洲第一成年网| 91香蕉视频污| 中文字幕国产一区二区| 蜜臀av性久久久久av蜜臀妖精| 欧美曰成人黄网| 亚洲桃色在线一区| 国产不卡视频在线播放| 日韩欧美在线123| 日韩国产成人精品| 欧美三级电影网站| 亚洲在线免费播放| 91亚洲午夜精品久久久久久| 国产精品色在线观看| 国产风韵犹存在线视精品| 精品88久久久久88久久久| 美腿丝袜亚洲三区| 欧美丰满高潮xxxx喷水动漫| 一区二区三区四区在线免费观看| 成人97人人超碰人人99| 国产女人aaa级久久久级| 国产伦精品一区二区三区在线观看| 日韩一本二本av| 日本最新不卡在线| 日韩欧美一区二区三区在线| 日韩成人精品在线| 日韩一级黄色片| 麻豆精品视频在线观看免费| 日韩免费一区二区三区在线播放| 美女视频黄久久| 欧美不卡一区二区| 精品一区二区av| 欧美经典三级视频一区二区三区| 国产高清在线精品| 国产欧美久久久精品影院| www.欧美亚洲| 一区二区成人在线观看| 欧美人妇做爰xxxⅹ性高电影| 夜夜爽夜夜爽精品视频| 欧美日韩aaaaaa| 欧美96一区二区免费视频| 欧美一级日韩一级| 国模大尺度一区二区三区| 国产亚洲精久久久久久| 波多野结衣的一区二区三区| 亚洲色图视频网| 精品视频一区三区九区| 男男成人高潮片免费网站| 亚洲精品在线观看视频| 成人免费毛片嘿嘿连载视频| 亚洲色图都市小说| 精品污污网站免费看| 日本午夜精品视频在线观看 | 国产人妖乱国产精品人妖| 99久精品国产| 一区二区在线免费| 在线成人av网站| 国产精品99久久久久久久vr| 国产精品不卡在线观看|