Visitor<T> class
abstract
Visitor interface for AST nodes.
Also see BaseVisitor and RecursiveVisitor.
- Implementers
Constructors
- Visitor()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visit(
Node node) → T? -
Shorthand for
node.visitBy(this)
. -
visitArray(
ArrayExpression node) → T? -
visitAssignment(
AssignmentExpression node) → T? -
visitBinary(
BinaryExpression node) → T? -
visitBlock(
BlockStatement node) → T? -
visitBreak(
BreakStatement node) → T? -
visitCall(
CallExpression node) → T? -
visitCatchClause(
CatchClause node) → T? -
visitConditional(
ConditionalExpression node) → T? -
visitContinue(
ContinueStatement node) → T? -
visitDebugger(
DebuggerStatement node) → T? -
visitDoWhile(
DoWhileStatement node) → T? -
visitEmptyStatement(
EmptyStatement node) → T? -
visitExpressionStatement(
ExpressionStatement node) → T? -
visitFor(
ForStatement node) → T? -
visitForIn(
ForInStatement node) → T? -
visitForOf(
ForOfStatement node) → T? -
visitFunctionDeclaration(
FunctionDeclaration node) → T? -
visitFunctionExpression(
FunctionExpression node) → T? -
visitFunctionNode(
FunctionNode node) → T? -
visitIf(
IfStatement node) → T? -
visitIndex(
IndexExpression node) → T? -
visitLabeledStatement(
LabeledStatement node) → T? -
visitLiteral(
LiteralExpression node) → T? -
visitMember(
MemberExpression node) → T? -
visitName(
Name node) → T? -
visitNameExpression(
NameExpression node) → T? -
visitObject(
ObjectExpression node) → T? -
visitProgram(
Program node) → T? -
visitPrograms(
Programs node) → T? -
visitProperty(
Property node) → T? -
visitRegexp(
RegexpExpression node) → T? -
visitReturn(
ReturnStatement node) → T? -
visitSequence(
SequenceExpression node) → T? -
visitSpread(
SpreadExpression node) → T? -
visitSpreadElement(
SpreadElement node) → T? -
visitSwitch(
SwitchStatement node) → T? -
visitSwitchCase(
SwitchCase node) → T? -
visitThis(
ThisExpression node) → T? -
visitThrow(
ThrowStatement node) → T? -
visitTry(
TryStatement node) → T? -
visitUnary(
UnaryExpression node) → T? -
visitUpdateExpression(
UpdateExpression node) → T? -
visitVariableDeclaration(
VariableDeclaration node) → T? -
visitVariableDeclarator(
VariableDeclarator node) → T? -
visitWhile(
WhileStatement node) → T? -
visitWith(
WithStatement node) → T?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited