Uses of Class
org.htmlunit.corejs.javascript.ast.ScriptNode
Packages that use ScriptNode
-
Uses of ScriptNode in org.htmlunit.corejs.javascript
Methods in org.htmlunit.corejs.javascript that return ScriptNodeModifier and TypeMethodDescriptionIRFactory.transformTree(AstRoot root) Transforms the tree into a lower-level IR suitable for codegen.Methods in org.htmlunit.corejs.javascript with parameters of type ScriptNodeModifier and TypeMethodDescriptionEvaluator.compileFunction(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource) Compile a function from intermediate representation tree into an executable form.Interpreter.compileFunction(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource) InterpreterV2.compileFunction(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource) Evaluator.compileScript(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource) Compile a script from intermediate representation tree into an executable form.Interpreter.compileScript(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource) InterpreterV2.compileScript(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource) static voidCodeGenUtils.fillInForScript(JSDescriptor.Builder builder, ScriptNode scriptOrFn, String rawSource, CompilerEnvirons compilerEnv) Populate builder data for a top level script.static <T extends ScriptOrFn<T>>
voidCodeGenUtils.setConstructor(JSDescriptor.Builder<T> builder, ScriptNode scriptOrFn) Configure the constructor appropriately based on a function's type.Node.toStringTree(ScriptNode treeTop) final voidNodeTransformer.transform(ScriptNode tree, boolean inStrictMode, CompilerEnvirons env) final 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.htmlunit.corejs.javascript.ast
Subclasses of ScriptNode in org.htmlunit.corejs.javascript.astModifier and TypeClassDescriptionclassNode for the root of a parse tree.classA JavaScript function declaration or expression.Fields in org.htmlunit.corejs.javascript.ast declared as ScriptNodeMethods in org.htmlunit.corejs.javascript.ast that return ScriptNodeMethods in org.htmlunit.corejs.javascript.ast with parameters of type ScriptNodeModifier and TypeMethodDescriptionstatic intFunctionNode.calculateFunctionArity(ScriptNode scriptOrFn) Calculate the arity (function.length) for a function.voidScope.setTop(ScriptNode top) Sets top current script or function scope