presto-parser/src/main/java/io/prestosql/sql/parser/StatementSplitter.java/StatementSplitter/getLexer
class StatementSplitter:    public static TokenSource getLexer(String sql, Set<String> terminators)
    {
        requireNonNull(sql, "sql is null");
        CharStream stream = new CaseInsensitiveStream(new ANTLRInputStream(sql));
        return new DelimiterLexer(stream, terminators);
    }