accept<A, R> method

  1. @override
R accept<A, R>(
  1. AstVisitor<A, R> visitor,
  2. A arg
)
override

Calls the appropriate method on the visitor to make it recognize this node.

Implementation

@override
R accept<A, R>(AstVisitor<A, R> visitor, A arg) {
  return visitor.visitWhen(this, arg);
}