Expand description
Logical line tokenization per RFC 5545.
After unfolding, each logical line has the shape
NAME[;PARAM=VALUE...]:VALUEThis module turns one such text line into a LogicalLine token: the
property name (UPPERCASE-normalized), the list of parameters (keys
UPPERCASE, surrounding " stripped from values, order preserved),
and the raw text after the colon (escapes intact — TEXT escape
handling lives in ADR-019 Step 2).
Dispatch sites in parser/mod.rs switch on LogicalLine.name
instead of strip_prefix("NAME:"), which also makes them tolerant of
properties that arrive with parameters (e.g. UID;X-FOO=bar:abc).
Structs§
- Logical
Line - Tokenized property line.
Functions§
- parse_
logical_ line - Parse one logical line into a
LogicalLine. ReturnsNonewhen the line is malformed (no colon, no name).