Uses of Class
org.mozilla.javascript.ast.ScriptNode
Package
Description
-
Uses of ScriptNode in org.mozilla.javascript
Modifier and TypeMethodDescriptionIRFactory.transformTree
(AstRoot root) Transforms the tree into a lower-level IR suitable for codegen.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) Node.toStringTree
(ScriptNode treeTop) final void
NodeTransformer.transform
(ScriptNode tree, boolean inStrictMode, CompilerEnvirons env) final 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
Modifier and TypeClassDescriptionclass
Node for the root of a parse tree.class
A JavaScript function declaration or expression.Modifier and TypeMethodDescriptionvoid
Scope.setTop
(ScriptNode top) Sets top current script or function scope -
Uses of ScriptNode in org.mozilla.javascript.optimizer
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) static OptFunctionNode
OptFunctionNode.get
(ScriptNode scriptOrFn) static OptFunctionNode
OptFunctionNode.get
(ScriptNode scriptOrFn, int i)