Uses of Class
org.mozilla.javascript.Node
Package
Description
-
Uses of Node in org.mozilla.javascript
Modifier and TypeFieldDescriptionprotected Node
Node.first
protected Node
Node.last
protected Node
Node.next
Modifier and TypeMethodDescriptionprotected Node
Parser.createName
(int type, String name, Node child) protected Node
Parser.createName
(String name) protected Node
Parser.createNumber
(double number) Node.getChildBefore
(Node child) Node.getFirstChild()
Node.getLastChild()
Node.getLastSibling()
Node.getNext()
static Node
Node.newNumber
(double number) static Node
static Node
static Node
Node.newTarget()
Node.NodeIterator.next()
Node.setType
(int type) Sets the node type and returns this node.protected Node
Parser.simpleAssignment
(Node left, Node right) protected Node
Parser.simpleAssignment
(Node left, Node right, org.mozilla.javascript.Parser.Transformer transformer) protected Node
Modifier and TypeMethodDescriptionvoid
Node.addChildAfter
(Node newChild, Node node) Add 'child' after 'node'.void
Node.addChildBefore
(Node newChild, Node node) Add 'child' before 'node'.void
Node.addChildrenToBack
(Node children) void
Node.addChildrenToFront
(Node children) void
Node.addChildToBack
(Node child) void
Node.addChildToFront
(Node child) protected void
Parser.checkMutableReference
(Node n) protected Node
Parser.createName
(int type, String name, Node child) Node.getChildBefore
(Node child) void
Node.removeChild
(Node child) void
Node.replaceChild
(Node child, Node newChild) void
Node.replaceChildAfter
(Node prevChild, Node newChild) protected Node
Parser.simpleAssignment
(Node left, Node right) protected Node
Parser.simpleAssignment
(Node left, Node right, org.mozilla.javascript.Parser.Transformer transformer) protected void
NodeTransformer.visitCall
(Node node, ScriptNode tree) protected Node
protected void
NodeTransformer.visitNew
(Node node, ScriptNode tree) ModifierConstructorDescription -
Uses of Node in org.mozilla.javascript.ast
Modifier and TypeClassDescriptionclass
AST node for a JavaScript 1.7 Array comprehension.class
AST node for a single 'for (foo in bar)' loop construct in a JavaScript 1.7 Array comprehension.class
AST node for an Array literal.class
AST node representing the set of assignment operators such as=
,*=
and+=
.class
Base class for AST node types.class
Node for the root of a parse tree.class
AST node for a BigInt literal.class
A block statement delimited by curly braces.class
A break statement.class
Node representing a catch-clause of a try-statement.class
Node representing comments.class
AST node for a computed property key, i.e. `[ Expression ]` in an object literal.class
AST node representing the ternary operator.class
A continue statement.class
Do statement.class
AST node for an indexed property reference, such asfoo['bar']
orfoo[2]
.class
AST node for an empty expression.class
AST node for an empty statement.class
AST node representing a parse error or a warning.class
AST node representing an expression in a statement context.class
For-in or for-each-in or for-of statement.class
C-style for-loop statement.class
AST node for a function call.class
A JavaScript function declaration or expression.class
class
class
If-else statement.class
AST node representing an infix (binary operator) expression.class
Used for code generation.class
AST node for keyword literals: currently,this
,null
,true
,false
, anddebugger
.class
AST node representing a label.class
A labeled statement.class
AST node for let statements and expressions.class
Abstract base type for loops.class
AST node for a simple name.class
New expression.class
AST node for a Number literal.class
AST node for an Object literal (also called an Object initializer in Ecma-262).class
AST node for a single name:value entry in an Object literal.class
AST node for a parenthesized expression.class
AST node for the '.' operator.class
AST node for a RegExp literal.class
Return statement.class
Represents a scope in the lexical scope chain.class
Base type forAstRoot
andFunctionNode
nodes, which need to collect much of the same information.class
AST node for a single- or double-quoted string literal.class
Switch-case AST node type.class
Switch statement AST node type.class
AST node for a Tagged Template Literal.class
AST node for Template Literal Characters.class
AST node for a Template literal.class
Throw statement.class
Try/catch/finally statement.class
AST node representing unary operators such astypeof
anddelete
.class
AST node representing update operators such as++
.class
A list of one or more var, const or let declarations.class
A variable declaration or initializer, part of aVariableDeclaration
expression.class
While statement.class
With statement.class
AST node representing an E4Xfoo.(bar)
query expression.class
AST node for an E4X XML[expr]
member-ref expression.class
AST node for an embedded JavaScript expression within an E4X XML literal.class
Abstract base type for components that comprise anXmlLiteral
object.class
AST node for an E4X (Ecma-357) embedded XML literal.class
AST node for E4X ".@" and ".." expressions, such asfoo..bar
,foo..@bar
,@foo.@bar
, andfoo..@ns::*
.class
AST node for an E4X XML[expr]
property-ref expression.class
Base class for E4X XML attribute-access or property-get expressions.class
AST node for an XML-text-only component of an XML literal expression.class
AST node for JavaScript 1.7yield
expression or statement.Modifier 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.Modifier and TypeMethodDescriptionFunctionNode.getLiveLocals()
FunctionNode.getResumptionPoints()
Modifier and TypeMethodDescriptionvoid
FunctionNode.addLiveLocals
(Node node, int[] locals) void
FunctionNode.addResumptionPoint
(Node target) int
ScriptNode.getIndexForNameNode
(Node nameNode) void
FunctionNode.putDestructuringRvalues
(Node left, Node right) void
ScriptNode.putDestructuringRvalues
(Node left, Node right) void
Jump.setContinue
(Node continueTarget) void
Jump.setDefault
(Node defaultTarget) void
Jump.setFinally
(Node finallyTarget) void
Sets the node associated with this identifier -
Uses of Node in org.mozilla.javascript.optimizer