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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? nativescript.java

?? 主要的怎么樣結(jié)合java 和 javascript!
?? JAVA
字號(hào):
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.mozilla.org/NPL/ * * Software distributed under the License is distributed on an "AS * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or * implied. See the License for the specific language governing * rights and limitations under the License. * * The Original Code is Rhino code, released * May 6, 1999. * * The Initial Developer of the Original Code is Netscape * Communications Corporation.  Portions created by Netscape are * Copyright (C) 1997-1999 Netscape Communications Corporation. All * Rights Reserved. * * Contributor(s): * Norris Boyd * Igor Bukanov * Roger Lawrence * Mike McCabe * * Alternatively, the contents of this file may be used under the * terms of the GNU Public License (the "GPL"), in which case the * provisions of the GPL are applicable instead of those above. * If you wish to allow use of your version of this file only * under the terms of the GPL and not to allow others to use your * version of this file under the NPL, indicate your decision by * deleting the provisions above and replace them with the notice * and other provisions required by the GPL.  If you do not delete * the provisions above, a recipient may use your version of this * file under either the NPL or the GPL. */package org.mozilla.javascript;/** * The JavaScript Script object. * * Note that the C version of the engine uses XDR as the format used * by freeze and thaw. Since this depends on the internal format of * structures in the C runtime, we cannot duplicate it. * * Since we cannot replace 'this' as a result of the compile method, * will forward requests to execute to the nonnull 'script' field. * * @since 1.3 * @author Norris Boyd */class NativeScript extends BaseFunction{    static final long serialVersionUID = -6795101161980121700L;    private static final Object SCRIPT_TAG = new Object();    static void init(Scriptable scope, boolean sealed)    {        NativeScript obj = new NativeScript(null);        obj.exportAsJSClass(MAX_PROTOTYPE_ID, scope, sealed);    }    private NativeScript(Script script)    {        this.script = script;    }    /**     * Returns the name of this JavaScript class, "Script".     */    public String getClassName()    {        return "Script";    }    public Object call(Context cx, Scriptable scope, Scriptable thisObj,                       Object[] args)    {        if (script != null) {            return script.exec(cx, scope);        }        return Undefined.instance;    }    public Scriptable construct(Context cx, Scriptable scope, Object[] args)    {        throw Context.reportRuntimeError0("msg.script.is.not.constructor");    }    public int getLength()    {        return 0;    }    public int getArity()    {        return 0;    }    String decompile(int indent, int flags)    {        if (script instanceof NativeFunction) {            return ((NativeFunction)script).decompile(indent, flags);        }        return super.decompile(indent, flags);    }    protected void initPrototypeId(int id)    {        String s;        int arity;        switch (id) {          case Id_constructor: arity=1; s="constructor"; break;          case Id_toString:    arity=0; s="toString";    break;          case Id_exec:        arity=0; s="exec";        break;          case Id_compile:     arity=1; s="compile";     break;          default: throw new IllegalArgumentException(String.valueOf(id));        }        initPrototypeMethod(SCRIPT_TAG, id, s, arity);    }    public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope,                             Scriptable thisObj, Object[] args)    {        if (!f.hasTag(SCRIPT_TAG)) {            return super.execIdCall(f, cx, scope, thisObj, args);        }        int id = f.methodId();        switch (id) {          case Id_constructor: {            String source = (args.length == 0)                            ? ""                            : ScriptRuntime.toString(args[0]);            Script script = compile(cx, source);            NativeScript nscript = new NativeScript(script);            ScriptRuntime.setObjectProtoAndParent(nscript, scope);            return nscript;          }          case Id_toString: {            NativeScript real = realThis(thisObj, f);            Script realScript = real.script;            if (realScript == null) { return ""; }            return cx.decompileScript(realScript, 0);          }          case Id_exec: {            throw Context.reportRuntimeError1(                "msg.cant.call.indirect", "exec");          }          case Id_compile: {            NativeScript real = realThis(thisObj, f);            String source = ScriptRuntime.toString(args, 0);            real.script = compile(cx, source);            return real;          }        }        throw new IllegalArgumentException(String.valueOf(id));    }    private static NativeScript realThis(Scriptable thisObj, IdFunctionObject f)    {        if (!(thisObj instanceof NativeScript))            throw incompatibleCallError(f);        return (NativeScript)thisObj;    }    private static Script compile(Context cx, String source)    {        int[] linep = { 0 };        String filename = Context.getSourcePositionFromStack(linep);        if (filename == null) {            filename = "<Script object>";            linep[0] = 1;        }        ErrorReporter reporter;        reporter = DefaultErrorReporter.forEval(cx.getErrorReporter());        return cx.compileString(source, null, reporter, filename,                                linep[0], null);    }// #string_id_map#    protected int findPrototypeId(String s)    {        int id;// #generated# Last update: 2001-05-23 13:25:01 GMT+02:00        L0: { id = 0; String X = null;            L: switch (s.length()) {            case 4: X="exec";id=Id_exec; break L;            case 7: X="compile";id=Id_compile; break L;            case 8: X="toString";id=Id_toString; break L;            case 11: X="constructor";id=Id_constructor; break L;            }            if (X!=null && X!=s && !X.equals(s)) id = 0;        }// #/generated#        return id;    }    private static final int        Id_constructor    = 1,        Id_toString       = 2,        Id_compile        = 3,        Id_exec           = 4,        MAX_PROTOTYPE_ID  = 4;// #/string_id_map#    private Script script;}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一三区三区四区免费在线看 | 奇米影视7777精品一区二区| 亚洲精品日日夜夜| 国产色产综合色产在线视频 | 久久综合久色欧美综合狠狠| 精品欧美黑人一区二区三区| 日韩一区有码在线| 五月综合激情网| 久久机这里只有精品| 免费在线观看日韩欧美| 激情都市一区二区| 成人a区在线观看| 91美女在线观看| 欧美一区二区人人喊爽| 亚洲精品在线免费播放| 久久久精品影视| 婷婷成人综合网| 91首页免费视频| 精品久久国产字幕高潮| 亚洲电影一级黄| 成人av免费网站| 久久综合av免费| 激情六月婷婷久久| 欧美一卡二卡三卡| 亚洲在线视频免费观看| 成人小视频在线| 亚洲国产精品激情在线观看| 日本va欧美va欧美va精品| 在线精品视频一区二区三四| 中文字幕欧美激情一区| 精品亚洲欧美一区| 日韩久久久精品| 亚洲综合激情网| 日本电影欧美片| 亚洲欧美电影一区二区| 成人精品电影在线观看| 精品福利一区二区三区| 国内精品伊人久久久久av影院 | 久久亚洲精华国产精华液 | 99riav久久精品riav| 欧美高清在线一区二区| 国产精品亚洲专一区二区三区| 91精品国产综合久久精品app| 亚洲一二三区在线观看| 91久久精品国产91性色tv| 亚洲精品视频自拍| 欧美亚洲高清一区二区三区不卡| 国产精品毛片a∨一区二区三区| 精一区二区三区| 精品国产污污免费网站入口| 久久av资源站| 国产精品国产三级国产aⅴ中文 | 欧美三级电影精品| 亚洲一区二区偷拍精品| 日韩欧美在线综合网| 成人中文字幕在线| 亚洲高清视频中文字幕| 日韩三级av在线播放| 成人小视频免费观看| 亚洲一区在线看| 精品国产污网站| 91麻豆成人久久精品二区三区| 亚洲一区中文日韩| 国产日产精品一区| 884aa四虎影成人精品一区| 国内精品伊人久久久久av影院 | 五月天激情小说综合| 国产精品久久久爽爽爽麻豆色哟哟| 欧美四级电影在线观看| 国内精品视频一区二区三区八戒| 洋洋成人永久网站入口| 亚洲人吸女人奶水| 国产精品丝袜91| 欧美电影免费观看高清完整版在 | 久久久噜噜噜久噜久久综合| 91麻豆精品国产91| 在线精品视频一区二区三四| 99久久精品久久久久久清纯| 美女尤物国产一区| 免费成人在线网站| 美女国产一区二区| 加勒比av一区二区| 精品一区二区三区日韩| 久久99精品一区二区三区三区| 亚洲另类中文字| 国产精品美女久久久久久| 精品国产sm最大网站| 亚洲精品在线网站| 国产欧美日本一区二区三区| 国产精品素人视频| 一区二区三区小说| 午夜精品久久久久久| 日韩高清不卡一区二区三区| 日韩二区三区在线观看| 国内成人免费视频| 日韩精品乱码免费| 精品一区二区精品| eeuss影院一区二区三区| 99国产精品久久久久久久久久久| 91丨porny丨蝌蚪视频| 欧美一区二区视频在线观看2020| 精品欧美一区二区三区精品久久 | 1024亚洲合集| 狠狠色丁香久久婷婷综| 色狠狠色狠狠综合| 久久亚洲一区二区三区四区| 国产精品三级av| 日本不卡一区二区三区高清视频| 91在线免费看| 欧美精品一区二区三区在线播放| 久久久久久麻豆| 亚洲五月六月丁香激情| 国模冰冰炮一区二区| 在线精品视频一区二区三四| 国产精品视频一二| 国产综合久久久久久鬼色| 91精品国产综合久久福利| 最好看的中文字幕久久| 国产精品中文字幕一区二区三区| 欧美色图免费看| 国产精品每日更新在线播放网址| 国产真实乱子伦精品视频| 精品伦理精品一区| 国产精品久久久久久亚洲毛片 | 精品国产三级电影在线观看| 中文字幕欧美激情一区| 蜜桃91丨九色丨蝌蚪91桃色| 91福利视频网站| 国产欧美日韩亚州综合| 毛片av中文字幕一区二区| 色综合网站在线| 中文字幕中文字幕中文字幕亚洲无线 | 久久电影国产免费久久电影| 国产在线精品一区二区不卡了| 欧美在线视频日韩| 国产精品久久久久久久久免费樱桃| 日本在线不卡一区| 色婷婷亚洲一区二区三区| 国产视频一区在线播放| 狠狠色丁香婷婷综合| 精品欧美一区二区久久| 五月婷婷综合网| 777色狠狠一区二区三区| 一区视频在线播放| 国产一区二区精品久久99| 久久综合色婷婷| 国产福利一区二区三区视频| 26uuuu精品一区二区| 高清成人免费视频| 日韩毛片在线免费观看| 国产成人精品亚洲午夜麻豆| 国产午夜亚洲精品午夜鲁丝片| 精品国产99国产精品| 国产美女一区二区| 亚洲欧美另类在线| 91农村精品一区二区在线| 亚洲精选视频免费看| 欧美在线免费播放| 国产综合久久久久久鬼色| 国产亚洲欧洲一区高清在线观看| 国产一区二区主播在线| 亚洲精品在线电影| 99免费精品视频| 美国毛片一区二区| 中文字幕在线视频一区| 欧美日韩在线免费视频| 福利一区二区在线| 夜夜嗨av一区二区三区网页| 久久新电视剧免费观看| 一本久道中文字幕精品亚洲嫩| 无吗不卡中文字幕| 亚洲另类色综合网站| 欧美久久久一区| 国产最新精品精品你懂的| 欧美国产日产图区| 91精品国产欧美一区二区18| 91国在线观看| 99精品视频在线观看| 国内精品不卡在线| 亚洲午夜免费视频| 中文字幕人成不卡一区| 国产精品久久久久久一区二区三区| 久久色在线视频| 欧美一卡二卡在线| 欧美一级片在线观看| 欧美一级片在线看| 欧美一区二区视频免费观看| 欧美高清www午色夜在线视频| 欧美电视剧在线看免费| 91精品国产91热久久久做人人| 精品视频在线免费观看| 欧美剧情电影在线观看完整版免费励志电影 | 欧美大黄免费观看| 欧美一级片免费看| 久久九九久久九九| 久久久精品tv| 亚洲色图另类专区| 男人操女人的视频在线观看欧美| 国产一区二区精品久久99| 91在线码无精品|