Integrating the script engine into your applications.
将脚本引擎集成到应用程序中。
A script engine loads and executes scripts in a particular language.
脚本引擎可以在特定的语言中加载并执行脚本。
By a MIME type the script engine has declared it knows how to process.
通过脚本引擎声明的、知道如何处理的MIME类型。
Every script engine returned by a ScriptEngineManager instance is seeded with the same "global scope" bindings object.
ScriptEngineManager实例返回的所有脚本引擎都是“全局作用域”绑定对象。
Firefox determines that a script is long-running by timing how long the script engine has been executing code continuously.
Firefox是根据脚本引擎持续执行代码的时间来判断一段脚本是否失控。
The script engine creates a transient dynamic assembly.
脚本引擎创建瞬态动态程序集。
A script engine for the specified language can not be created.
指定语言的脚本引擎无法创建。
Specifies a script for the page that is interpreted by a script engine.
指定由脚本引擎解释的页面中的脚本。
NET starts its application domain and launches the script engine to compile and execute the program.
NET启动它的应用程序域并启动脚本引擎以编译和执行程序。
User agents must not evaluate script data as HTML markup but instead must pass it on as data to a script engine.
用户代理绝对不能将脚本数据当做HTML标记处理,而是要将它当成数据传递给相应的脚本引擎。
A script engine ACTS as a mediator between your scripting code and an underlying language interpreter or compiler that ultimately executes the code.
脚本引擎充当脚本代码和最后执行代码的底层语言解释器或编译器之间的中间程序。
If a factory says it can create a script engine for the desired language, the manager asks the factory to create one, which it returns to the caller.
如果工厂说可以创建所需语言的脚本引擎,那么管理程序将要求工厂创建一个引擎并将其返回给调用者。
Whenever a script is intended to run in a browser (client-side), experienced developers include code that detects the version of the script engine.
每当想要在浏览器(客户端)中运行一个脚本时,有经验的开发人员就会在代码中包括检测脚本引擎版本的代码。
The script engine has some components, include symbol table, lexical analyzer, parser, semantic checker, intermediate code generator, optimizer, code generator, virtual machine.
一个脚本引擎通常包括的组件有:符号表、词法分析器、语法分析器、语义检查器、中间代码生成器、代码优化器、代码生成器、虚拟机。
Each script-engine instance has a default context where you can store variables with the put method and the output of any executed script is directed to System.out by default.
每个脚本引擎实例都具有一个默认的上下文,在其中,可以用put方法存储变量,而所执行的脚本的输出则被默认定向到System . out。
You might be wondering where you get the necessary JAR files for the script-engine implementation and language interpreters.
如何才能获取脚本引擎实现和语言解释器所需的JAR文件呢?
All script-engine eval methods declare they throw a ScriptException, so your code needs to handle it appropriately.
所有脚本引擎eval方法都声明抛出一个ScriptException,因此我们的代码需要适当处理这些异常。
To use one of these scripting languages, install the script-engine implementation JAR file from this project along with the scripting-language interpreter JAR file itself.
要使用其中的脚本语言,需要安装此项目中的脚本引擎实现JAR文件,和脚本语言解释器JAR文件。
To use one of these scripting languages, install the script-engine implementation JAR file from this project along with the scripting-language interpreter JAR file itself.
要使用其中的脚本语言,需要安装此项目中的脚本引擎实现JAR文件,和脚本语言解释器JAR文件。
应用推荐