Expand description
Parsing utilities for Rune.
Re-exports§
pub use self::parse::Parse;
Structs§
- An opaque identifier that is associated with AST types.
- A non-zero Id which definitely contains a value. We keep this distinct from
Id
to allow for safely using this as a key in a hashmap, preventing us from inadvertently storing an empty identifier. - Parser for the rune language.
- Construct used to peek a parser.
Enums§
- Something that describes an expectation or actuality.
Traits§
- The parse trait, implemented by items that can be parsed.
- Implemented by tokens that can be peeked for.
Functions§
- Parse the given input as the given type that implements Parse. The specified
source_id
will be used when referencing any parsed elements.shebang
indicates if the parser should try to parse a shebang or not.