Uses of Class
org.mozilla.javascript.CompilerEnvirons
-
Packages that use CompilerEnvirons Package Description org.mozilla.javascript org.mozilla.javascript.optimizer org.mozilla.javascript.tools.jsc -
-
Uses of CompilerEnvirons in org.mozilla.javascript
Fields in org.mozilla.javascript declared as CompilerEnvirons Modifier and Type Field Description private CompilerEnvirons
CodeGenerator. compilerEnv
(package private) CompilerEnvirons
Parser. compilerEnv
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 InterpreterData
CodeGenerator. 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.java.lang.Object
Interpreter. compile(CompilerEnvirons compilerEnv, ScriptNode tree, java.lang.String encodedSource, boolean returnFunction)
private ScriptNode
Context. parse(java.lang.String sourceString, java.lang.String sourceName, int lineno, CompilerEnvirons compilerEnv, ErrorReporter compilationErrorReporter, 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
Fields in org.mozilla.javascript.optimizer declared as CompilerEnvirons Modifier and Type Field Description (package private) CompilerEnvirons
BodyCodegen. compilerEnv
private CompilerEnvirons
ClassCompiler. compilerEnv
private CompilerEnvirons
Codegen. compilerEnv
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. -
Uses of CompilerEnvirons in org.mozilla.javascript.tools.jsc
Fields in org.mozilla.javascript.tools.jsc declared as CompilerEnvirons Modifier and Type Field Description private CompilerEnvirons
Main. compilerEnv
-