Structs§
- Inline
- Inline run produced by the markup tokenizer.
- List
Item - One entry inside an
Item::List. - Parse
Result - Output of
crate::parse. Diagnostics may include warnings even when the tree is structurally usable; callers decide what to do perParseResult::has_errors. - RawBlock
View - Borrowed view of an
Item::RawBlockpayload. - Syntax
Tree - Concrete syntax tree for a single
.mossource file.
Enums§
- Directive
Kind - Tag for the directive shapes
Item::Setcan represent. - Inline
Kind - Item
- Top-level construct in a
.mosfile. - Length
Unit - List
Item Block - Ordered content inside a
ListItem. - RawBlock
Kind - SetArg
- One argument inside a directive body: either a
key: valuepair (the only form#setaccepts) or a positional value (a leading string literal allowed on#image(...)/#figure(...)). - SetValue
- Literal values recognised inside a
#setbody. Full expression evaluation (#let, function calls,if) is deferred to MVP 5; this covers what the manifest examples actually use.