Visitor1<T, A> class
abstract
Visitor interface that takes an argument.
If multiple arguments are needed, they must be wrapped in a parameter object.
That there is no RecursiveVisitor variant that takes an argument.
For a generic traversal that takes arguments, consider using BaseVisitor1 and
override defaultNode
to visit the children of each node.
- Implementers
Constructors
- Visitor1()
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, A arg) → T? -
Shorthand for
node.visitBy(this)
. -
visitArray(
ArrayExpression node, A arg) → T? -
visitAssignment(
AssignmentExpression node, A arg) → T? -
visitBinary(
BinaryExpression node, A arg) → T? -
visitBlock(
BlockStatement node, A arg) → T? -
visitBreak(
BreakStatement node, A arg) → T? -
visitCall(
CallExpression node, A arg) → T? -
visitCatchClause(
CatchClause node, A arg) → T? -
visitConditional(
ConditionalExpression node, A arg) → T? -
visitContinue(
ContinueStatement node, A arg) → T? -
visitDebugger(
DebuggerStatement node, A arg) → T? -
visitDoWhile(
DoWhileStatement node, A arg) → T? -
visitEmptyStatement(
EmptyStatement node, A arg) → T? -
visitExpressionStatement(
ExpressionStatement node, A arg) → T? -
visitFor(
ForStatement node, A arg) → T? -
visitForIn(
ForInStatement node, A arg) → T? -
visitForOf(
ForOfStatement node, A arg) → T? -
visitFunctionDeclaration(
FunctionDeclaration node, A arg) → T? -
visitFunctionExpression(
FunctionExpression node, A arg) → T? -
visitFunctionNode(
FunctionNode node, A arg) → T? -
visitIf(
IfStatement node, A arg) → T? -
visitIndex(
IndexExpression node, A arg) → T? -
visitLabeledStatement(
LabeledStatement node, A arg) → T? -
visitLiteral(
LiteralExpression node, A arg) → T? -
visitMember(
MemberExpression node, A arg) → T? -
visitName(
Name node, A arg) → T? -
visitNameExpression(
NameExpression node, A arg) → T? -
visitObject(
ObjectExpression node, A arg) → T? -
visitProgram(
Program node, A arg) → T? -
visitPrograms(
Programs node, A arg) → T? -
visitProperty(
Property node, A arg) → T? -
visitRegexp(
RegexpExpression node, A arg) → T? -
visitReturn(
ReturnStatement node, A arg) → T? -
visitSequence(
SequenceExpression node, A arg) → T? -
visitSpread(
SpreadExpression node, A arg) → T? -
visitSpreadElement(
SpreadElement node, A arg) → T? -
visitSwitch(
SwitchStatement node, A arg) → T? -
visitSwitchCase(
SwitchCase node, A arg) → T? -
visitThis(
ThisExpression node, A arg) → T? -
visitThrow(
ThrowStatement node, A arg) → T? -
visitTry(
TryStatement node, A arg) → T? -
visitUnary(
UnaryExpression node, A arg) → T? -
visitUpdateExpression(
UpdateExpression node, A arg) → T? -
visitVariableDeclaration(
VariableDeclaration node, A arg) → T? -
visitVariableDeclarator(
VariableDeclarator node, A arg) → T? -
visitWhile(
WhileStatement node, A arg) → T? -
visitWith(
WithStatement node, A arg) → T?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited