class
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
Node for the root of a parse tree.
class
AST node for a BigInt literal.
class
A block statement delimited by curly braces.
class
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
class
class
AST node for an indexed property reference, such as foo['bar']
or foo[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
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
, and debugger
.
class
AST node representing a label.
class
class
AST node for let statements and expressions.
class
Abstract base type for loops.
class
AST node for a simple name.
class
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
class
Represents a scope in the lexical scope chain.
class
Base type for
AstRoot
and
FunctionNode
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
class
Try/catch/finally statement.
class
AST node representing unary operators such as typeof
and delete
.
class
AST node representing update operators such as ++
.
class
A list of one or more var, const or let declarations.
class
class
class
class
AST node representing an E4X foo.(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 an
XmlLiteral
object.
class
AST node for an E4X (Ecma-357) embedded XML literal.
class
AST node for E4X ".@" and ".." expressions, such as foo..bar
, foo..@bar
,
@foo.@bar
, and foo..@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.7 yield
expression or statement.
Returns null
for loop body
Returns body statement or expression.
Returns the statement to break to
Returns catch condition node, if present
Returns element at specified index.
Returns the element being accessed
Returns element at specified index.
Returns statement to execute if condition is false
Returns the wrapped expression
Returns the expression between the parens
Returns the case expression, null
for default case
Returns the switch discriminant expression
Returns the expression being thrown
Returns object expression
Returns index expression: the 'expr' in @[expr]
or @*::[expr]
.
Returns the expression embedded in {}
Returns expression to evaluate if test is false
Returns filter expression, or null
if not present
Returns filter expression, or null
if not present
Returns finally block, or null
if not present
Returns loop increment expression
Returns loop initializer variable declaration list.
Returns the initial value, or null
if not provided
Returns object being iterated over
Returns loop iterator expression
Returns the left-hand side of the expression
Returns the node parent, or null
if it has none
Returns result expression node (just after opening bracket)
Returns result expression node (just after opening bracket)
Returns return value, null
if return value is void
Returns the right-hand side of the expression
Returns the labeled statement
Returns the statement or block
Returns the object on which the element is being fetched.
Returns node evaluating to the function to call
Returns the object on which the property is being fetched.
Returns the variable name or destructuring form
Returns the object on which the XML member-ref expression is being evaluated.
Returns statement to execute if condition is true
Returns expression to evaluate if test is true
Returns yielded expression, null
if none
void
Adds an argument to the list, and sets its parent to this node.
void
Adds a child or function to the end of the block.
void
Adds an element to the list, and sets its parent to this node.
void
Adds an element to the list, and sets its parent to this node.
void
Adds a parameter to the function parameter list.
void
void
Adds a statement to the end of the statement list.
int
Sorts nodes by (relative) start position.
int
Permits AST nodes to be sorted based on start position and length.
boolean
Returns true if the specified
AstNode
node is a parameter of this Function node.
void
Throws an exception on attempts to set the loop body.
void
Sets function body, and sets its parent to this node.
void
Sets body statement or expression.
void
void
Sets catch condition node, and sets its parent to this node.
void
Sets loop condition, and sets its parent to this node.
void
Sets loop condition, and sets its parent to this node.
void
void
void
Sets the element being accessed, and sets its parent to this node.
void
void
Sets statement to execute if condition is false
void
void
Sets the wrapped expression, and sets its parent to this node.
void
Sets the expression between the parens, and sets the parent to this node.
void
Sets the case expression, null
for default case.
void
Sets the switch discriminant expression, and sets its parent to this node.
void
Sets the expression being thrown, and sets its parent to this node.
void
Sets object expression (and its parent link)
void
Sets index expression, and sets its parent to this node.
void
Sets the expression embedded in {}, and sets its parent to this node.
void
Sets expression to evaluate if test is false, and sets its parent to this node.
void
Sets filter expression, and sets its parent to this node.
void
Sets filter expression, and sets its parent to this node.
void
Sets finally block, and sets its parent to this node.
void
Sets loop increment expression, and sets its parent to this node.
void
Sets loop initializer expression, and sets its parent to this node.
void
Sets the initial value expression, and sets its parent to this node.
void
void
Sets object being iterated over, and sets its parent to this node.
void
Sets loop iterator expression: the part before the "in" or "of" keyword.
void
Sets the left-hand side of the expression, and sets its parent to this node.
void
void
Rhino supports a nonstandard Ecma extension that allows you to say, for instance, function
a.b.c(arg1, arg) {...}, and it will be rewritten at codegen time to: a.b.c = function(arg1,
arg2) {...}
void
Sets the operand, and sets its parent to be this node.
void
Sets the operand, and sets its parent to be this node.
void
void
Sets result expression, and sets its parent to this node.
void
Sets result expression, and sets its parent to this node.
void
Sets return value expression, and sets its parent to this node.
void
Sets the right-hand side of the expression, and sets its parent to this node.
void
Sets the labeled statement, and sets its parent to this node.
void
Sets the statement (and sets its parent link)
void
Sets target object, and sets its parent to this node.
void
Sets node evaluating to the function to call, and sets its parent to this node.
void
Sets target object, and sets its parent to this node.
void
void
Sets the variable name or destructuring form, and sets its parent to this node.
void
Sets target object, and sets its parent to this node.
void
void
Sets test expression, and sets its parent.
void
Sets statement to execute if condition is true
void
Sets expression to evaluate if test is true, and sets its parent to this node.
void
void
Sets yielded expression, and sets its parent to this node.
boolean
boolean