Uses of Class
org.mozilla.javascript.ast.ScriptNode
-
Packages that use ScriptNode Package Description org.mozilla.javascript org.mozilla.javascript.ast org.mozilla.javascript.optimizer -
-
Uses of ScriptNode in org.mozilla.javascript
Methods in org.mozilla.javascript that return ScriptNode Modifier and Type Method Description ScriptNode
IRFactory. transformTree(AstRoot root)
Transforms the tree into a lower-level IR suitable for codegen.Methods in org.mozilla.javascript with parameters of type ScriptNode 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)
java.lang.String
Node. toStringTree(ScriptNode treeTop)
void
NodeTransformer. transform(ScriptNode tree, boolean inStrictMode, CompilerEnvirons env)
void
NodeTransformer. transform(ScriptNode tree, CompilerEnvirons env)
protected void
NodeTransformer. visitCall(Node node, ScriptNode tree)
protected void
NodeTransformer. visitNew(Node node, ScriptNode tree)
-
Uses of ScriptNode in org.mozilla.javascript.ast
Subclasses of ScriptNode in org.mozilla.javascript.ast Modifier and Type Class Description class
AstRoot
Node for the root of a parse tree.class
FunctionNode
A JavaScript function declaration or expression.Fields in org.mozilla.javascript.ast declared as ScriptNode Modifier and Type Field Description protected ScriptNode
Scope. top
Methods in org.mozilla.javascript.ast that return ScriptNode Modifier and Type Method Description ScriptNode
Scope. getTop()
Returns current script or function scopeMethods in org.mozilla.javascript.ast with parameters of type ScriptNode Modifier and Type Method Description void
Scope. setTop(ScriptNode top)
Sets top current script or function scope -
Uses of ScriptNode in org.mozilla.javascript.optimizer
Methods in org.mozilla.javascript.optimizer with parameters of type ScriptNode 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)
static OptFunctionNode
OptFunctionNode. get(ScriptNode scriptOrFn)
static OptFunctionNode
OptFunctionNode. get(ScriptNode scriptOrFn, int i)
-