Expand description
Crate for lexing and parsing of Unimarkup inline formatted text.
Structs§
- Lexer
- Lexer of Unimarkup inline formatted text. Generates a stream of
Token
s from input. - Nested
Content - Nested content of an
Inline
consisting of multiple otherInline
. - Parser
- Parser of Unimarkup inline formatting. Implemented as an
Iterator
, yields one self-contained UnimarkupInline
with every iteration. - Plain
Content - Plain content of an
Inline
consisting of simple text. - Position
- Representation of a position in Unimarkup input.
- Span
- Span used to store information about the space some
Token
occupies in Unimarkup document. - Token
- Token lexed from Unimarkup text.
- Token
Delimiters - Delimiters
- Token
Iterator - Iterator over Unimarkup
Token
s, performs the actual lexing. - Tokens
- TODO: write docs
Enums§
- Inline
- Representation of Unimarkup inline-formatted text.
- Inline
Content - Content of an
Inline
. - Spacing
- Enum representing the spacing surrounding a particular token in Unimarkup document.
- Token
Kind - The kind of the token found in Unimarkup document.
Constants§
- ALIASES
- Aliases for the
EMOJIS
andARROWS
that can be replaced in a Unimarkup text. - ARROWS
- ASCII Arrows that can be replaced with their Unicode versions in a Unimarkup text.
- EMOJIS
- ASCII Emojis that can be replaced with their Unicode versions in a Unimarkup text.