Uses of Class
org.mozilla.javascript.CompilerEnvirons
-
Uses of CompilerEnvirons in org.mozilla.javascript
Modifier and TypeMethodDescriptionstatic CompilerEnvirons
CompilerEnvirons.ideEnvirons()
Returns aCompilerEnvirons
suitable for using Rhino in an IDE environment.Modifier and TypeMethodDescriptionEvaluator.compile
(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource, boolean returnFunction) Compile the script or function from intermediate representation tree into an executable form.Interpreter.compile
(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource, boolean returnFunction) final void
NodeTransformer.transform
(ScriptNode tree, boolean inStrictMode, CompilerEnvirons env) final void
NodeTransformer.transform
(ScriptNode tree, CompilerEnvirons env) ModifierConstructorDescriptionIRFactory
(CompilerEnvirons env, String sourceString) IRFactory
(CompilerEnvirons env, String sourceString, ErrorReporter errorReporter) Parser
(CompilerEnvirons compilerEnv) Parser
(CompilerEnvirons compilerEnv, ErrorReporter errorReporter) -
Uses of CompilerEnvirons in org.mozilla.javascript.optimizer
Modifier and TypeMethodDescriptionClassCompiler.getCompilerEnv()
Get the compiler environment the compiler uses.Modifier and TypeMethodDescriptionCodegen.compile
(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource, boolean returnFunction) byte[]
Codegen.compileToClassFile
(CompilerEnvirons compilerEnv, String mainClassName, ScriptNode scriptOrFn, String rawSource, boolean returnFunction) ModifierConstructorDescriptionClassCompiler
(CompilerEnvirons compilerEnv) Construct ClassCompiler that uses the specified compiler environment when generating classes.