| Package | Description |
|---|---|
| gudusoft.gsqlparser.ir.semantic |
| Modifier and Type | Method and Description |
|---|---|
SourceSpan |
Diagnostic.getSpan() |
static SourceSpan |
SourceSpan.of(TParseTreeNode node)
Derive a span from the AST node's start and end tokens.
|
static SourceSpan |
SourceSpan.of(TSourceToken start,
TSourceToken end)
Derive a span from explicit start / end tokens.
|
| Modifier and Type | Method and Description |
|---|---|
static Diagnostic |
Diagnostic.errorWithSpan(DiagnosticCode code,
String message,
SourceSpan span)
Construct an
ERROR-severity diagnostic
with an explicit (already-computed) source span. |