Skip to main content

Module parser

Module parser 

Source

Structs§

BailErrorStrategy
Marker error strategy matching ANTLR’s BailErrorStrategy.
BaseParser
ExpectedTokenSet
Interval-set of expected token types, displayable through a vocabulary — the shape ANTLR’s getExpectedTokens().toString(vocabulary) exposes to generated test actions.
GeneratedDiagnosticsCheckpoint
Rollback marker for speculative generated parser paths.
GeneratedMatch
Outcome of a generated token / set / not-set match that may recover.
NoSemanticHooks
Default hook object used by parsers that do not need user-supplied semantics.
ParserAction
Parser semantic action reached while recognizing one ATN path.
ParserMemberAction
Integer member mutation attached to an ATN action transition.
ParserReturnAction
Integer return-value assignment attached to an ATN action transition.
ParserRuleArg
Integer argument metadata for a generated parser rule invocation.
ParserRuntimeOptions
Optional generated-runtime metadata for metadata-driven parser execution.
ParserSemCtx
Runtime view passed to parser semantic hooks.
ParserSemanticAction
Parser action coordinate lowered into SemIr.
ParserSemanticPredicate
Parser predicate coordinate lowered into SemIr.
ParserSemantics
Data-driven semantic tables emitted by generated parsers.

Enums§

ParserPredicate
Parser semantic predicate rendered from a supported target template.
PredictionMode
Prediction strategy requested by generated parser harnesses.
UnknownSemanticPolicy
Policy for semantic predicate coordinates that have no runtime implementation.

Traits§

Parser
SemanticHooks
User extension point for parser semantic predicates and actions that the metadata generator did not translate into built-in runtime metadata.

Functions§

dump_perf_counters
reset_perf_counters