tree = parser.selectStatementsEof();
checkState(tree != null);
checkState(!(tree instanceof ErrorNode));
for (SelectStatementContext ssctx : tree.selectStatementsEtc().selectStatement())
{
trees.add(ssctx);
queries.add(charStreamL.get(0).getText(new Interval(ssctx.start.getStartIndex(), ssctx.stop.getStopIndex())));
}
}