| Package | Description |
|---|---|
| gudusoft.gsqlparser.ir.semantic | |
| gudusoft.gsqlparser.ir.semantic.builder |
| Modifier and Type | Method and Description |
|---|---|
static Diagnostic |
Diagnostic.error(DiagnosticCode code,
String message)
Construct an
ERROR-severity diagnostic
with no span anchor. |
static Diagnostic |
Diagnostic.error(DiagnosticCode code,
String message,
TParseTreeNode anchor)
Construct an
ERROR-severity diagnostic
whose span is derived from anchor via
SourceSpan.of(TParseTreeNode). |
static Diagnostic |
Diagnostic.errorWithSpan(DiagnosticCode code,
String message,
SourceSpan span)
Construct an
ERROR-severity diagnostic
with an explicit (already-computed) source span. |
Diagnostic |
AnalysisResult.getFirstError() |
static Diagnostic |
Diagnostic.warn(DiagnosticCode code,
String message)
Slice 77 — construct a
WARN-severity
diagnostic with no span anchor. |
static Diagnostic |
Diagnostic.warn(DiagnosticCode code,
String message,
TParseTreeNode anchor)
Slice 77 — construct a
WARN-severity
diagnostic whose span is derived from anchor. |
| Modifier and Type | Method and Description |
|---|---|
List<Diagnostic> |
AnalysisResult.getDiagnostics()
Diagnostics emitted during analysis.
|
| Modifier and Type | Method and Description |
|---|---|
Diagnostic |
SemanticIRBuilder.SemanticIRBuildException.getDiagnostic() |
| Constructor and Description |
|---|
SemanticIRBuildException(Diagnostic diagnostic) |