visitSelectStatement method

  1. @override
void visitSelectStatement(
  1. SelectStatement e,
  2. ColumnResolverContext arg
)
override

Implementation

@override
void visitSelectStatement(SelectStatement e, ColumnResolverContext arg) {
  e.withClause?.accept(this, arg);
  _resolveSelect(e, arg);

  // We've handled the from clause in _resolveSelect, but we still need to
  // visit other children to handle things like subquery expressions.
  for (final child in e.childNodes) {
    if (child != e.withClause && child != e.from) {
      visit(child, arg);
    }
  }
}