Expand description
The family lexer and grammar (epic E0, docs/ROADMAP.md).
Re-exports§
pub use keywords::Profile;
Modules§
- ast
- The typed AST over the rowan tree (docs/ROADMAP.md epic E1.2a, ADR-0007 decision 1).
- keywords
- The RIDL family reserved-word registry (typl reference §1.4).
Structs§
- Parse
- The result of
parse: the lossless green tree plus any diagnostics. - Syntax
Error - A parse diagnostic: a message, the stable diagnostic code it will carry in
the coded model (
FORM-…per ADR-0007 decision 2,TYPL-302per typl reference §16.4), and the source range of the offending token. - Token
- A lexed token: its
SyntaxKindand the exact source slice it covers.
Enums§
- Ridl
Language - The rowan
Languageinstance for the RIDL family. It binds rowan’s rawu16kinds toSyntaxKindthrough the enum’s#[repr(u16)]discriminants. - Syntax
Kind - The kinds of syntax tokens and nodes the family grammar produces.
Functions§
- lex
- Lexes
inputinto a flat token stream underprofile. - parse
- Parses
inputinto a losslessParseunderprofile.
Type Aliases§
- Syntax
Node - A node in the red (cursor) tree over
RidlLanguage. - Syntax
Token - A token in the red (cursor) tree over
RidlLanguage.