visitCreateTableStatement method
Implementation
@override
void visitCreateTableStatement(CreateTableStatement e, void arg) {
final scope = e.scope = StatementScope.forStatement(context.rootScope, e);
final knownTable = context.rootScope.knownTables[e.tableName];
// This is used so that tables can refer to their own columns. Code using
// tables would first register the table and then run analysis again.
if (knownTable is Table) {
scope
..expansionOfStarColumn = knownTable.resolvedColumns
..resultSets[null] = ResultSetAvailableInStatement(e, knownTable);
}
visitChildren(e, arg);
}