Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Re-exports§

pub use crate::ast_impl::Decl;
pub use crate::ast_impl::Located;
pub use crate::ast_impl::SurfaceExpr;
pub use crate::error_impl::ParseError;
pub use crate::error_impl::ParseErrorKind;
pub use crate::lexer::Lexer;
pub use crate::parser_impl::Parser;
pub use crate::tokens::Span;
pub use crate::tokens::Token;
pub use crate::tokens::TokenKind;

Structs§

AmbiguityRegistry
A registry of parse ambiguities encountered.
CheckpointStack
A stack of parse checkpoints.
DepthLimiter
A depth-limited recursive descent helper.
ExpectedSet
A sequence of token kinds expected at the current position.
FixityRegistry
A registry of operator fixities.
PackratEntry
PackratTable
A memoization table for parser results (Packrat parsing).
ParseAmbiguity
Represents a parse ambiguity between two alternatives.
ParseAnnotation
An annotation attached to a parse result.
ParseBatch
A batch of parse requests.
ParseBuffer
A ring buffer of Tokens used for lookahead parsing.
ParseCacheKey
A cache key for memoizing parse results by source hash.
ParseCheckpoint
A checkpoint for parser backtracking.
ParseConfig
Configuration for a single parse run.
ParseErrorSimple
Represents a parse error with position and message.
ParseErrorSummary
A summary of parse errors across a session.
ParseFileResult
Result for a single file parsed within a session.
ParseFrame
Holds the state for a single parse “frame” (a call to a recursive production).
ParseFuel
A “fuel” mechanism to prevent infinite loops in parsers.
ParseMode
Flags controlling parser behavior.
ParsePipeline
A multi-stage parse pipeline that applies a sequence of transformations to the token stream before parsing.
ParseResultWithErrors
A parser result type with error accumulation.
ParseSession
A multi-file parse session that tracks per-file results and statistics.
ParseStack
A stack of parse frames for debugging.
ParseStats
Aggregate statistics from one or more parse operations.
ParseStatsExt
Statistics gathered during a single parse run.
ParseTrace
Tracks which tokens were consumed by each parser rule.
PrattContext
A context for operator-precedence parsing (Pratt parsing).
RecoveryDecision
A parser recovery decision.
RecoveryLog
Tracks all recovery events during parsing.
SourceMap
Maps byte offsets in a source file to line and column numbers.
SourcePos
Source position with file information.
TokenCursor
A token cursor for tracking position during parsing.
TokenKindSet
A compact bitset for up to 64 token kinds.
TokenStream
A lightweight wrapper around a Vec<Token> that provides cursor-based traversal without requiring a mutable Parser.
TraceEvent

Enums§

AnnotationKind
The kind of a parse annotation.
CombResult
Represents a parser combinator result.
Fixity
Operator fixity information.
LookaheadResult
Represents a parser lookahead result.
ParseQuality
A quality rating for a parse result.
RecoveryStrategy
Error recovery strategies for the parser.