Uses of Class
org.mozilla.javascript.CompilerEnvirons
-
Packages that use CompilerEnvirons Package Description org.mozilla.javascript org.mozilla.javascript.optimizer -
-
Uses of CompilerEnvirons in org.mozilla.javascript
Methods in org.mozilla.javascript that return CompilerEnvirons Modifier and Type Method Description static CompilerEnvirons
CompilerEnvirons. ideEnvirons()
Returns aCompilerEnvirons
suitable for using Rhino in an IDE environment.Methods in org.mozilla.javascript with parameters of type CompilerEnvirons Modifier and Type Method Description 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.java.lang.Object
Interpreter. compile(CompilerEnvirons compilerEnv, ScriptNode tree, java.lang.String encodedSource, boolean returnFunction)
void
NodeTransformer. transform(ScriptNode tree, boolean inStrictMode, CompilerEnvirons env)
void
NodeTransformer. transform(ScriptNode tree, CompilerEnvirons env)
Constructors in org.mozilla.javascript with parameters of type CompilerEnvirons Constructor Description IRFactory(CompilerEnvirons env)
IRFactory(CompilerEnvirons env, ErrorReporter errorReporter)
Parser(CompilerEnvirons compilerEnv)
Parser(CompilerEnvirons compilerEnv, ErrorReporter errorReporter)
-
Uses of CompilerEnvirons in org.mozilla.javascript.optimizer
Methods in org.mozilla.javascript.optimizer that return CompilerEnvirons Modifier and Type Method Description CompilerEnvirons
ClassCompiler. getCompilerEnv()
Get the compiler environment the compiler uses.Methods in org.mozilla.javascript.optimizer with parameters of type CompilerEnvirons Modifier and Type Method Description 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 org.mozilla.javascript.optimizer with parameters of type CompilerEnvirons Constructor Description ClassCompiler(CompilerEnvirons compilerEnv)
Construct ClassCompiler that uses the specified compiler environment when generating classes.
-