visitNode method

  1. @override
void visitNode (
  1. AstNode node
)
override

Implementation

@override
void visitNode(AstNode node) {
  _immediateChild = node;
  AstNode parent = node.parent;
  if (parent != null) {
    parent.accept(this);
  }
}