use of io.confluent.ksql.parser.tree.Statements in project ksql by confluentinc.
the class AstBuilder method visitStatements.
@Override
public Node visitStatements(SqlBaseParser.StatementsContext context) {
List<Statement> statementList = new ArrayList<>();
for (SqlBaseParser.SingleStatementContext singleStatementContext : context.singleStatement()) {
Statement statement = (Statement) visitSingleStatement(singleStatementContext);
statementList.add(statement);
}
return new Statements(statementList);
}
Aggregations