Uses of Class
org.mozilla.javascript.CompilerEnvirons
Packages that use CompilerEnvirons
-
Uses of CompilerEnvirons in org.mozilla.javascript
Methods in org.mozilla.javascript that return CompilerEnvironsModifier and TypeMethodDescriptionstatic CompilerEnvirons
CompilerEnvirons.ideEnvirons()
Returns aCompilerEnvirons
suitable for using Rhino in an IDE environment.Methods in org.mozilla.javascript with parameters of type CompilerEnvironsModifier 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) Constructors in org.mozilla.javascript with parameters of type CompilerEnvironsModifierConstructorDescriptionIRFactory
(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
Methods in org.mozilla.javascript.optimizer that return CompilerEnvironsModifier and TypeMethodDescriptionClassCompiler.getCompilerEnv()
Get the compiler environment the compiler uses.Methods in org.mozilla.javascript.optimizer with parameters of type CompilerEnvironsModifier and TypeMethodDescriptionCodegen.compile
(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource, boolean returnFunction) byte[]
Codegen.compileToClassFile
(CompilerEnvirons compilerEnv, String mainClassName, ScriptNode scriptOrFn, String rawSource, boolean returnFunction) Constructors in org.mozilla.javascript.optimizer with parameters of type CompilerEnvironsModifierConstructorDescriptionClassCompiler
(CompilerEnvirons compilerEnv) Construct ClassCompiler that uses the specified compiler environment when generating classes.