Skip to main content

Module lex

Module lex 

Source
Expand description

Lexing of netdoc elements

Re-exports§

pub use crate::types::NoMoreArguments as NoFurtherArguments;

Macros§

derive_deftly_template_ParseOptions 🔒
Define parse_options accessor

Structs§

ArgumentStream
Reader for arguments on an Item
ItemStream
Top-level reader: Netdoc text interpreted as a stream of items
ItemStreamPeeked 🔒
If an ItemStream has peeked ahead, what it discovered
UnparsedItem
An Item that has been lexed but not parsed
UnparsedObject
An Object that has been lexed but not parsed

Enums§

PeekState 🔒
Whether an ItemStream has peeked ahead, and if so what it discovered

Constants§

WS
Linear whitespace as defined by torspec