Expand description
Dialect-mismatch diagnostics for the parser.
When the grammar recognizes a token that maps to an OracleFeature that is
not available on the run’s OracleTargetVersion, the parser emits a
Diagnostic with the stable code UNSUPPORTED_DIALECT_FEATURE_CODE,
carrying an UnknownReason::UnsupportedDialectFeature tag and a
version-aware remediation hint.
Per plan.md R13 (no uncertainty silently dropped), every dialect-mismatch
is a typed blind spot, never a panic.
Constants§
- UNSUPPORTED_
DIALECT_ FEATURE_ CODE - Stable diagnostic code emitted whenever the parser encounters an
OracleFeaturetoken outside its target version.
Functions§
- earliest_
supporting_ version - Returns the earliest Oracle version that supports
feature. - feature_
label - Human-friendly label for an
OracleFeature, used in diagnostic messages. - unsupported_
dialect_ feature_ diagnostic - Build a
Diagnosticreporting thatfeatureis not available on theparse_options.oracle_versiontarget. - unsupported_
dialect_ feature_ remediation - Build a version-aware remediation hint for
featureagainsttarget.