Package | Description |
---|---|
net.sourceforge.htmlunit.corejs.javascript | |
net.sourceforge.htmlunit.corejs.javascript.optimizer |
Modifier and Type | Method and Description |
---|---|
static CompilerEnvirons |
CompilerEnvirons.ideEnvirons()
Returns a
CompilerEnvirons suitable for using Rhino
in an IDE environment. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Interpreter.compile(CompilerEnvirons compilerEnv,
ScriptNode tree,
java.lang.String encodedSource,
boolean returnFunction) |
java.lang.Object |
Evaluator.compile(CompilerEnvirons compilerEnv,
ScriptNode tree,
java.lang.String encodedSource,
boolean returnFunction)
Compile the script or function from intermediate representation
tree into an executable form.
|
Constructor and Description |
---|
IRFactory(CompilerEnvirons env) |
IRFactory(CompilerEnvirons env,
ErrorReporter errorReporter) |
Parser(CompilerEnvirons compilerEnv) |
Parser(CompilerEnvirons compilerEnv,
ErrorReporter errorReporter) |
Modifier and Type | Method and Description |
---|---|
CompilerEnvirons |
ClassCompiler.getCompilerEnv()
Get the compiler environment the compiler uses.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Codegen.compile(CompilerEnvirons compilerEnv,
ScriptNode tree,
java.lang.String encodedSource,
boolean returnFunction) |
Constructor and Description |
---|
ClassCompiler(CompilerEnvirons compilerEnv)
Construct ClassCompiler that uses the specified compiler environment
when generating classes.
|