Uses of Package
org.mozilla.javascript.ast
-
Packages that use org.mozilla.javascript.ast Package Description org.mozilla.javascript org.mozilla.javascript.ast org.mozilla.javascript.optimizer -
Classes in org.mozilla.javascript.ast used by org.mozilla.javascript Class Description ArrayComprehension AST node for a JavaScript 1.7 Array comprehension.ArrayComprehensionLoop AST node for a single 'for (foo in bar)' loop construct in a JavaScript 1.7 Array comprehension.ArrayLiteral AST node for an Array literal.Assignment AST node representing the set of assignment operators such as=
,*=
and+=
.AstNode Base class for AST node types.AstRoot Node for the root of a parse tree.BreakStatement A break statement.Comment Node representing comments.ConditionalExpression AST node representing the ternary operator.ContinueStatement A continue statement.DoLoop Do statement.ElementGet AST node for an indexed property reference, such asfoo['bar']
orfoo[2]
.ErrorNode AST node representing a parse error or a warning.ExpressionStatement AST node representing an expression in a statement context.ForInLoop For-in or for-each-in or for-of statement.ForLoop C-style for-loop statement.FunctionCall AST node for a function call.FunctionNode A JavaScript function declaration or expression.GeneratorExpression GeneratorExpressionLoop IdeErrorReporter This is interface defines a protocol for the reporting of errors during JavaScript translation in IDE-mode.IfStatement If-else statement.InfixExpression AST node representing an infix (binary operator) expression.Jump Used for code generation.Label AST node representing a label.LabeledStatement A labeled statement.LetNode AST node for let statements and expressions.Loop Abstract base type for loops.Name AST node for a simple name.NewExpression New expression.NumberLiteral AST node for a Number literal.ObjectLiteral AST node for an Object literal (also called an Object initialiser in Ecma-262).ObjectProperty AST node for a single name:value entry in an Object literal.ParenthesizedExpression AST node for a parenthesized expression.PropertyGet AST node for the '.' operator.RegExpLiteral AST node for a RegExp literal.ReturnStatement Return statement.Scope Represents a scope in the lexical scope chain.ScriptNode Base type forAstRoot
andFunctionNode
nodes, which need to collect much of the same information.StringLiteral AST node for a single- or double-quoted string literal.SwitchStatement Switch statement AST node type.ThrowStatement Throw statement.TryStatement Try/catch/finally statement.UnaryExpression AST node representing unary operators such as++
,~
,typeof
anddelete
.VariableDeclaration A list of one or more var, const or let declarations.WhileLoop While statement.WithStatement With statement.XmlElemRef AST node for an E4X XML[expr]
member-ref expression.XmlLiteral AST node for an E4X (Ecma-357) embedded XML literal.XmlMemberGet AST node for E4X ".@" and ".." expressions, such asfoo..bar
,foo..@bar
,@foo.@bar
, andfoo..@ns::*
.XmlRef Base class for E4X XML attribute-access or property-get expressions.Yield AST node for JavaScript 1.7yield
expression or statement. -
Classes in org.mozilla.javascript.ast used by org.mozilla.javascript.ast Class Description ArrayComprehensionLoop AST node for a single 'for (foo in bar)' loop construct in a JavaScript 1.7 Array comprehension.AstNode Base class for AST node types.AstRoot Node for the root of a parse tree.Block A block statement delimited by curly braces.CatchClause Node representing a catch-clause of a try-statement.Comment Node representing comments.DestructuringForm Common interface forArrayLiteral
andObjectLiteral
node types, both of which may appear in "destructuring" expressions or contexts.ForInLoop For-in or for-each-in or for-of statement.FunctionCall AST node for a function call.FunctionNode A JavaScript function declaration or expression.FunctionNode.Form GeneratorExpressionLoop IdeErrorReporter This is interface defines a protocol for the reporting of errors during JavaScript translation in IDE-mode.InfixExpression AST node representing an infix (binary operator) expression.Jump Used for code generation.KeywordLiteral AST node for keyword literals: currently,this
,null
,true
,false
, anddebugger
.Label AST node representing a label.Loop Abstract base type for loops.Name AST node for a simple name.NodeVisitor Simple visitor interface for traversing the AST.ObjectLiteral AST node for an Object literal (also called an Object initialiser in Ecma-262).ObjectProperty AST node for a single name:value entry in an Object literal.ParseProblem Encapsulates information for a JavaScript parse error or warning.ParseProblem.Type RegExpLiteral AST node for a RegExp literal.Scope Represents a scope in the lexical scope chain.ScriptNode Base type forAstRoot
andFunctionNode
nodes, which need to collect much of the same information.SwitchCase Switch-case AST node type.Symbol Represents a symbol-table entry.VariableDeclaration A list of one or more var, const or let declarations.VariableInitializer A variable declaration or initializer, part of aVariableDeclaration
expression.XmlFragment Abstract base type for components that comprise anXmlLiteral
object.XmlRef Base class for E4X XML attribute-access or property-get expressions. -
Classes in org.mozilla.javascript.ast used by org.mozilla.javascript.optimizer Class Description FunctionNode A JavaScript function declaration or expression.Jump Used for code generation.ScriptNode Base type forAstRoot
andFunctionNode
nodes, which need to collect much of the same information.