Uses of Class
org.mozilla.javascript.Node
Packages that use Node
Package
Description
-
Uses of Node in org.mozilla.javascript
Fields in org.mozilla.javascript declared as NodeModifier and TypeFieldDescriptionprotected NodeNode.firstprotected NodeNode.lastprotected NodeNode.nextMethods in org.mozilla.javascript that return NodeModifier and TypeMethodDescriptionprotected NodeParser.createName(int type, String name, Node child) protected NodeParser.createName(String name) protected NodeParser.createNumber(double number) Node.getChildBefore(Node child) Node.getFirstChild()Node.getLastChild()Node.getLastSibling()Node.getNext()static NodeNode.newNumber(double number) static Nodestatic Nodestatic NodeNode.newTarget()Node.NodeIterator.next()Node.setType(int type) Sets the node type and returns this node.protected NodeParser.simpleAssignment(Node left, Node right) protected NodeParser.simpleAssignment(Node left, Node right, org.mozilla.javascript.Parser.Transformer transformer) protected NodeMethods in org.mozilla.javascript that return types with arguments of type NodeMethods in org.mozilla.javascript with parameters of type NodeModifier and TypeMethodDescriptionvoidNode.addChildAfter(Node newChild, Node node) Add 'child' after 'node'.voidNode.addChildBefore(Node newChild, Node node) Add 'child' before 'node'.voidNode.addChildrenToBack(Node children) voidNode.addChildrenToFront(Node children) voidNode.addChildToBack(Node child) voidNode.addChildToFront(Node child) protected voidParser.checkMutableReference(Node n) protected NodeParser.createName(int type, String name, Node child) Node.getChildBefore(Node child) voidNode.removeChild(Node child) voidNode.replaceChild(Node child, Node newChild) voidNode.replaceChildAfter(Node prevChild, Node newChild) protected NodeParser.simpleAssignment(Node left, Node right) protected NodeParser.simpleAssignment(Node left, Node right, org.mozilla.javascript.Parser.Transformer transformer) protected voidNodeTransformer.visitCall(Node node, ScriptNode tree) protected Nodeprotected voidNodeTransformer.visitNew(Node node, ScriptNode tree) Constructors in org.mozilla.javascript with parameters of type NodeModifierConstructorDescription -
Uses of Node in org.mozilla.javascript.ast
Subclasses of Node in org.mozilla.javascript.astModifier and TypeClassDescriptionclassAST node for a JavaScript 1.7 Array comprehension.classAST node for a single 'for (foo in bar)' loop construct in a JavaScript 1.7 Array comprehension.classAST node for an Array literal.classAST node representing the set of assignment operators such as=,*=and+=.classBase class for AST node types.classNode for the root of a parse tree.classAST node for a BigInt literal.classA block statement delimited by curly braces.classA break statement.classNode representing a catch-clause of a try-statement.classNode representing comments.classAST node for a computed property key, i.e. `[ Expression ]` in an object literal.classAST node representing the ternary operator.classA continue statement.classDo statement.classAST node for an indexed property reference, such asfoo['bar']orfoo[2].classAST node for an empty expression.classAST node for an empty statement.classAST node representing a parse error or a warning.classAST node representing an expression in a statement context.classFor-in or for-each-in or for-of statement.classC-style for-loop statement.classAST node for a function call.classA JavaScript function declaration or expression.classclassclassIf-else statement.classAST node representing an infix (binary operator) expression.classUsed for code generation.classAST node for keyword literals: currently,this,null,true,false, anddebugger.classAST node representing a label.classA labeled statement.classAST node for let statements and expressions.classAbstract base type for loops.classAST node for a simple name.classNew expression.classAST node for a Number literal.classAST node for an Object literal (also called an Object initializer in Ecma-262).classAST node for a single name:value entry in an Object literal.classAST node for a parenthesized expression.classAST node for the '.' operator.classAST node for a RegExp literal.classReturn statement.classRepresents a scope in the lexical scope chain.classBase type forAstRootandFunctionNodenodes, which need to collect much of the same information.classAST node for a single- or double-quoted string literal.classSwitch-case AST node type.classSwitch statement AST node type.classAST node for a Tagged Template Literal.classAST node for Template Literal Characters.classAST node for a Template literal.classThrow statement.classTry/catch/finally statement.classAST node representing unary operators such astypeofanddelete.classAST node representing update operators such as++.classA list of one or more var, const or let declarations.classA variable declaration or initializer, part of aVariableDeclarationexpression.classWhile statement.classWith statement.classAST node representing an E4Xfoo.(bar)query expression.classAST node for an E4X XML[expr]member-ref expression.classAST node for an embedded JavaScript expression within an E4X XML literal.classAbstract base type for components that comprise anXmlLiteralobject.classAST node for an E4X (Ecma-357) embedded XML literal.classAST node for E4X ".@" and ".." expressions, such asfoo..bar,foo..@bar,@foo.@bar, andfoo..@ns::*.classAST node for an E4X XML[expr]property-ref expression.classBase class for E4X XML attribute-access or property-get expressions.classAST node for an XML-text-only component of an XML literal expression.classAST node for JavaScript 1.7yieldexpression or statement.Fields in org.mozilla.javascript.ast declared as NodeMethods in org.mozilla.javascript.ast that return NodeModifier and TypeMethodDescriptionJump.getContinue()Jump.getDefault()Jump.getFinally()Symbol.getNode()Returns the node associated with this identifierVariableDeclaration.setType(int type) Sets the node type and returns this node.Methods in org.mozilla.javascript.ast that return types with arguments of type NodeModifier and TypeMethodDescriptionFunctionNode.getLiveLocals()FunctionNode.getResumptionPoints()Methods in org.mozilla.javascript.ast with parameters of type NodeModifier and TypeMethodDescriptionvoidFunctionNode.addLiveLocals(Node node, int[] locals) voidFunctionNode.addResumptionPoint(Node target) intScriptNode.getIndexForNameNode(Node nameNode) voidFunctionNode.putDestructuringRvalues(Node left, Node right) voidScriptNode.putDestructuringRvalues(Node left, Node right) voidJump.setContinue(Node continueTarget) voidJump.setDefault(Node defaultTarget) voidJump.setFinally(Node finallyTarget) voidSets the node associated with this identifierConstructors in org.mozilla.javascript.ast with parameters of type Node -
Uses of Node in org.mozilla.javascript.optimizer
Methods in org.mozilla.javascript.optimizer with parameters of type Node