BaseVisitor1<T, A> class

Implementation of Visitor1 which redirects each visit method to a method defaultNode.

This is convenient when only a couple of visit methods are needed and a default action can be taken for all other nodes.

Implemented types

Constructors

BaseVisitor1()

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

defaultNode(Node node, A arg) → T?
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).
override
visitArray(ArrayExpression node, A arg) → T?
override
visitAssignment(AssignmentExpression node, A arg) → T?
override
visitBinary(BinaryExpression node, A arg) → T?
override
visitBlock(BlockStatement node, A arg) → T?
override
visitBreak(BreakStatement node, A arg) → T?
override
visitCall(CallExpression node, A arg) → T?
override
visitCatchClause(CatchClause node, A arg) → T?
override
visitConditional(ConditionalExpression node, A arg) → T?
override
visitContinue(ContinueStatement node, A arg) → T?
override
visitDebugger(DebuggerStatement node, A arg) → T?
override
visitDoWhile(DoWhileStatement node, A arg) → T?
override
visitEmptyStatement(EmptyStatement node, A arg) → T?
override
visitExpressionStatement(ExpressionStatement node, A arg) → T?
override
visitFor(ForStatement node, A arg) → T?
override
visitForIn(ForInStatement node, A arg) → T?
override
visitForOf(ForOfStatement node, A arg) → T?
override
visitFunctionDeclaration(FunctionDeclaration node, A arg) → T?
override
visitFunctionExpression(FunctionExpression node, A arg) → T?
override
visitFunctionNode(FunctionNode node, A arg) → T?
override
visitIf(IfStatement node, A arg) → T?
override
visitIndex(IndexExpression node, A arg) → T?
override
visitLabeledStatement(LabeledStatement node, A arg) → T?
override
visitLiteral(LiteralExpression node, A arg) → T?
override
visitMember(MemberExpression node, A arg) → T?
override
visitName(Name node, A arg) → T?
override
visitNameExpression(NameExpression node, A arg) → T?
override
visitObject(ObjectExpression node, A arg) → T?
override
visitProgram(Program node, A arg) → T?
override
visitPrograms(Programs node, A arg) → T?
override
visitProperty(Property node, A arg) → T?
override
visitRegexp(RegexpExpression node, A arg) → T?
override
visitReturn(ReturnStatement node, A arg) → T?
override
visitSequence(SequenceExpression node, A arg) → T?
override
visitSpread(SpreadExpression node, A arg) → T?
override
visitSpreadElement(SpreadElement node, A arg) → T?
override
visitSwitch(SwitchStatement node, A arg) → T?
override
visitSwitchCase(SwitchCase node, A arg) → T?
override
visitThis(ThisExpression node, A arg) → T?
override
visitThrow(ThrowStatement node, A arg) → T?
override
visitTry(TryStatement node, A arg) → T?
override
visitUnary(UnaryExpression node, A arg) → T?
override
visitUpdateExpression(UpdateExpression node, A arg) → T?
override
visitVariableDeclaration(VariableDeclaration node, A arg) → T?
override
visitVariableDeclarator(VariableDeclarator node, A arg) → T?
override
visitWhile(WhileStatement node, A arg) → T?
override
visitWith(WithStatement node, A arg) → T?
override

Operators

operator ==(Object other) bool
The equality operator.
inherited