|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CompilerEnvirons | |
|---|---|
| net.sourceforge.htmlunit.corejs.javascript | |
| net.sourceforge.htmlunit.corejs.javascript.optimizer | |
| Uses of CompilerEnvirons in net.sourceforge.htmlunit.corejs.javascript |
|---|
| Methods in net.sourceforge.htmlunit.corejs.javascript that return CompilerEnvirons | |
|---|---|
static CompilerEnvirons |
CompilerEnvirons.ideEnvirons()
Returns a CompilerEnvirons suitable for using Rhino in an IDE
environment. |
| Methods in net.sourceforge.htmlunit.corejs.javascript with parameters of type CompilerEnvirons | |
|---|---|
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. |
| Constructors in net.sourceforge.htmlunit.corejs.javascript with parameters of type CompilerEnvirons | |
|---|---|
IRFactory(CompilerEnvirons env)
|
|
IRFactory(CompilerEnvirons env,
ErrorReporter errorReporter)
|
|
Parser(CompilerEnvirons compilerEnv)
|
|
Parser(CompilerEnvirons compilerEnv,
ErrorReporter errorReporter)
|
|
| Uses of CompilerEnvirons in net.sourceforge.htmlunit.corejs.javascript.optimizer |
|---|
| Methods in net.sourceforge.htmlunit.corejs.javascript.optimizer that return CompilerEnvirons | |
|---|---|
CompilerEnvirons |
ClassCompiler.getCompilerEnv()
Get the compiler environment the compiler uses. |
| Methods in net.sourceforge.htmlunit.corejs.javascript.optimizer with parameters of type CompilerEnvirons | |
|---|---|
java.lang.Object |
Codegen.compile(CompilerEnvirons compilerEnv,
ScriptNode tree,
java.lang.String encodedSource,
boolean returnFunction)
|
byte[] |
Codegen.compileToClassFile(CompilerEnvirons compilerEnv,
java.lang.String mainClassName,
ScriptNode scriptOrFn,
java.lang.String encodedSource,
boolean returnFunction)
|
| Constructors in net.sourceforge.htmlunit.corejs.javascript.optimizer with parameters of type CompilerEnvirons | |
|---|---|
ClassCompiler(CompilerEnvirons compilerEnv)
Construct ClassCompiler that uses the specified compiler environment when generating classes. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||