File tree Expand file tree Collapse file tree
src/main/java/org/leplus/sql Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import org .leplus .antlr4 .PLSQLParser .ConstantContext ;
88
99/**
10- * ANTLR listener that collects the literal constants of a PL/SQL parse tree.
11- * {@code NULL} literals are skipped, since they denote absence rather than a
12- * value.
10+ * ANTLR listener that collects the literal constants of a PL/SQL parse tree. {@code NULL} literals
11+ * are skipped, since they denote absence rather than a value.
1312 */
1413public class ConstantListener extends PLSQLBaseListener {
1514
Original file line number Diff line number Diff line change 55import org .antlr .v4 .runtime .Recognizer ;
66
77/**
8- * An ANTLR error listener that makes parsing fail fast: instead of ANTLR's
9- * default "recover and continue", it rethrows the recognition exception on the
10- * first syntax error.
8+ * An ANTLR error listener that makes parsing fail fast: instead of ANTLR's default "recover and
9+ * continue", it rethrows the recognition exception on the first syntax error.
1110 */
1211public class ExceptionErrorListener extends BaseErrorListener {
1312
Original file line number Diff line number Diff line change @@ -15,9 +15,8 @@ public Inspector() {
1515 }
1616
1717 /**
18- * Parses a SQL statement and returns the literal constants it contains, in
19- * source order. Parsing fails fast: the first syntax error is rethrown (see
20- * {@link ExceptionErrorListener}).
18+ * Parses a SQL statement and returns the literal constants it contains, in source order. Parsing
19+ * fails fast: the first syntax error is rethrown (see {@link ExceptionErrorListener}).
2120 *
2221 * @param sqlStatement the SQL text to inspect.
2322 * @return the constants found.
Original file line number Diff line number Diff line change 33import java .io .Serializable ;
44
55/**
6- * A literal constant found in a SQL statement: its text value and its position.
7- * Ordered by line, then column, then value.
6+ * A literal constant found in a SQL statement: its text value and its position. Ordered by line,
7+ * then column, then value.
88 */
99public class Result implements Serializable , Comparable <Result > {
1010
You can’t perform that action at this time.
0 commit comments