| Package | Description |
|---|---|
| gudusoft.gsqlparser |
Provides the class
TGSqlParser necessary to create a SQL Parser and the classes a SQL Parser uses
internally to handle different SQL dialects. |
| gudusoft.gsqlparser.dlineage.dataflow.model | |
| gudusoft.gsqlparser.parser | |
| gudusoft.gsqlparser.pp2 |
Fault-tolerant SQL formatter (pp2) — augments, does not replace,
the parse-dependent
gudusoft.gsqlparser.pp formatter. |
| gudusoft.gsqlparser.pp2.region |
| Modifier and Type | Method and Description |
|---|---|
List<TSyntaxError> |
TGSqlParser.getRecoveredSyntaxErrors()
The syntax errors of statements that
routine recovery skipped,
in input order; empty unless that option is on. |
ArrayList<TSyntaxError> |
TCustomSqlStatement.getSyntaxErrors() |
ArrayList<TSyntaxError> |
TGSqlParser.getSyntaxErrors()
The array of syntax error generated by the parser during checking the syntax of the input SQL,
element of this list is type of
TSyntaxError |
ArrayList<TSyntaxError> |
TCustomSqlStatement.getSyntaxHints() |
| Modifier and Type | Method and Description |
|---|---|
EActionOnParseError |
TCustomSqlStatement.parseerrormessagehandle(TSyntaxError se)
Log error messages if syntax errors found while parsing this statement.
|
| Constructor and Description |
|---|
TSyntaxError(TSyntaxError n) |
| Modifier and Type | Method and Description |
|---|---|
List<TSyntaxError> |
SqllrObservations.UnitRecord.getRecoveredSyntaxErrors()
Errors of statements routine-body recovery skipped: the parse "succeeded" without them.
|
List<TSyntaxError> |
SqllrObservations.UnitRecord.getSyntaxErrors() |
| Modifier and Type | Field and Description |
|---|---|
protected List<TSyntaxError> |
AbstractSqlParser.syntaxErrors |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<TSyntaxError> |
SqlParseResult.getSyntaxErrors()
Get detailed syntax errors.
|
List<TSyntaxError> |
AbstractSqlParser.getSyntaxErrors()
Get the syntax errors collected during parsing.
|
| Modifier and Type | Method and Description |
|---|---|
SqlParseResult.Builder |
SqlParseResult.Builder.addSyntaxError(TSyntaxError syntaxError)
Add a single syntax error.
|
| Modifier and Type | Method and Description |
|---|---|
SqlParseResult.Builder |
SqlParseResult.Builder.syntaxErrors(ArrayList<TSyntaxError> syntaxErrors)
Set syntax errors list.
|
static List<TSourceToken> |
RoutineBodyRecovery.tokensToIgnore(TCustomSqlStatement routine,
List<TSyntaxError> errors,
EDbVendor vendor)
The tokens of the statements that hold
errors, to make ignorable so that the rest of routine
parses; empty when any error cannot be placed in a statement of the routine's body, or when the body's blocks do
not balance (no region is certain then, and the whole body is no statement to skip). |
| Modifier and Type | Method and Description |
|---|---|
TSyntaxError |
FormatDiagnostic.getParserError()
May be
null if the diagnostic did not originate from a parser failure. |
| Modifier and Type | Method and Description |
|---|---|
List<TSyntaxError> |
Pp2ParseException.getParserErrors()
Immutable view of the parser diagnostics that triggered this failure.
|
| Constructor and Description |
|---|
FormatDiagnostic(FormatDiagnostic.Severity severity,
int startOffset,
int endOffset,
String message,
TSyntaxError parserError) |
| Constructor and Description |
|---|
Pp2ParseException(String message,
List<TSyntaxError> parserErrors) |
| Modifier and Type | Method and Description |
|---|---|
List<TSyntaxError> |
RegionParseOutcome.getSyntaxErrors()
Immutable list of syntax errors.
|
| Modifier and Type | Method and Description |
|---|---|
static RegionParseOutcome |
RegionParseOutcome.astError(StatementRange range,
String parsedSql,
List<TSyntaxError> errors,
String note)
Build an
AST_ERROR outcome. |