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 ScriptNodeIRFactory. 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.ObjectEvaluator. 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.ObjectInterpreter. compile(CompilerEnvirons compilerEnv, ScriptNode tree, java.lang.String encodedSource, boolean returnFunction)java.lang.StringNode. toStringTree(ScriptNode treeTop)voidNodeTransformer. transform(ScriptNode tree, boolean inStrictMode, CompilerEnvirons env)voidNodeTransformer. transform(ScriptNode tree, CompilerEnvirons env)protected voidNodeTransformer. visitCall(Node node, ScriptNode tree)protected voidNodeTransformer. 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 classAstRootNode for the root of a parse tree.classFunctionNodeA JavaScript function declaration or expression.Fields in org.mozilla.javascript.ast declared as ScriptNode Modifier and Type Field Description protected ScriptNodeScope. topMethods in org.mozilla.javascript.ast that return ScriptNode Modifier and Type Method Description ScriptNodeScope. getTop()Returns current script or function scopeMethods in org.mozilla.javascript.ast with parameters of type ScriptNode Modifier and Type Method Description voidScope. 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.ObjectCodegen. 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 OptFunctionNodeOptFunctionNode. get(ScriptNode scriptOrFn)static OptFunctionNodeOptFunctionNode. get(ScriptNode scriptOrFn, int i)
-