| Package | Description |
|---|---|
| gudusoft.gsqlparser.pp2.region | |
| gudusoft.gsqlparser.pp2.render |
| Modifier and Type | Method and Description |
|---|---|
StatementRange |
RegionParseOutcome.getRange() |
| Modifier and Type | Method and Description |
|---|---|
List<StatementRange> |
StatementBoundaryDetector.detect(Pp2TokenStream stream,
EDbVendor vendor)
Detect statement boundaries.
|
| Modifier and Type | Method and Description |
|---|---|
static RegionParseOutcome |
RegionParseOutcome.astError(StatementRange range,
String parsedSql,
List<TSyntaxError> errors,
String note)
Build an
AST_ERROR outcome. |
boolean |
ParseRecoveryEngine.isTrivia(StatementRange range)
True when the range contains no solid tokens — only whitespace,
comments, and at most a trailing terminator (
; or
vendor-specific GO). |
RegionParseOutcome |
ParseRecoveryEngine.parseRegion(StatementRange range)
Parse a single region.
|
String |
ParseRecoveryEngine.sliceFor(StatementRange range)
Source slice covered by the range.
|
static RegionParseOutcome |
RegionParseOutcome.trivia(StatementRange range,
String parsedSql)
Build a
TRIVIA outcome (region with no solid tokens — only
whitespace and/or comments). |
| Modifier and Type | Method and Description |
|---|---|
List<RegionParseOutcome> |
ParseRecoveryEngine.parseAll(List<StatementRange> ranges)
Parse all ranges.
|
| Modifier and Type | Method and Description |
|---|---|
StatementRange |
RenderedRegion.getRange()
The statement boundary this rendering covers.
|
| Constructor and Description |
|---|
RenderedRegion(StatementRange range,
String text,
RendererId rendererId) |