Expand description
AST, token, and span types shared across the Shuck workspace.
shuck-parser produces these data structures, while crates such as shuck-indexer,
shuck-linter, shuck-semantic, and shuck-formatter consume them.
Modules§
- raw_
shell - Lightweight lexical scans over raw shell source text.
Structs§
- IdRange
- Compact typed arena index and list storage utilities. A compact typed contiguous range into an arena-backed store.
- Idx
- Compact typed arena index and list storage utilities. A compact typed index into an arena-backed store.
- List
Arena - Compact typed arena index and list storage utilities. A simple append-only store for variable-length typed child lists.
- Name
- Identifier names used throughout the shell AST.
- Position
- Source positions, spans, and text range utilities. A position in source code.
- Span
- Source positions, spans, and text range utilities. A span of source code (start to end position).
- Text
Range - Source positions, spans, and text range utilities.
A half-open byte range in source text, analogous to ruff’s
TextRange. - Text
Size - Source positions, spans, and text range utilities.
A byte offset in source text, analogous to ruff’s
TextSize.
Enums§
- Token
Kind - Token kinds emitted by the lexer. Cheap token classification for parser dispatch.