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§
- Ambiguity
Registry - A registry of parse ambiguities encountered.
- Checkpoint
Stack - A stack of parse checkpoints.
- Depth
Limiter - A depth-limited recursive descent helper.
- Expected
Set - A sequence of token kinds expected at the current position.
- Fixity
Registry - A registry of operator fixities.
- Packrat
Entry - Packrat
Table - A memoization table for parser results (Packrat parsing).
- Parse
Ambiguity - Represents a parse ambiguity between two alternatives.
- Parse
Annotation - An annotation attached to a parse result.
- Parse
Batch - A batch of parse requests.
- Parse
Buffer - A ring buffer of
Tokens used for lookahead parsing. - Parse
Cache Key - A cache key for memoizing parse results by source hash.
- Parse
Checkpoint - A checkpoint for parser backtracking.
- Parse
Config - Configuration for a single parse run.
- Parse
Error Simple - Represents a parse error with position and message.
- Parse
Error Summary - A summary of parse errors across a session.
- Parse
File Result - Result for a single file parsed within a session.
- Parse
Frame - Holds the state for a single parse “frame” (a call to a recursive production).
- Parse
Fuel - A “fuel” mechanism to prevent infinite loops in parsers.
- Parse
Mode - Flags controlling parser behavior.
- Parse
Pipeline - A multi-stage parse pipeline that applies a sequence of transformations to the token stream before parsing.
- Parse
Result With Errors - A parser result type with error accumulation.
- Parse
Session - A multi-file parse session that tracks per-file results and statistics.
- Parse
Stack - A stack of parse frames for debugging.
- Parse
Stats - Aggregate statistics from one or more parse operations.
- Parse
Stats Ext - Statistics gathered during a single parse run.
- Parse
Trace - Tracks which tokens were consumed by each parser rule.
- Pratt
Context - A context for operator-precedence parsing (Pratt parsing).
- Recovery
Decision - A parser recovery decision.
- Recovery
Log - Tracks all recovery events during parsing.
- Source
Map - Maps byte offsets in a source file to line and column numbers.
- Source
Pos - Source position with file information.
- Token
Cursor - A token cursor for tracking position during parsing.
- Token
Kind Set - A compact bitset for up to 64 token kinds.
- Token
Stream - A lightweight wrapper around a
Vec<Token>that provides cursor-based traversal without requiring a mutableParser. - Trace
Event
Enums§
- Annotation
Kind - The kind of a parse annotation.
- Comb
Result - Represents a parser combinator result.
- Fixity
- Operator fixity information.
- Lookahead
Result - Represents a parser lookahead result.
- Parse
Quality - A quality rating for a parse result.
- Recovery
Strategy - Error recovery strategies for the parser.