Skip to main content

Module node

Module node 

Source
Available on crate feature parser only.
Expand description

§Value node

The raw value of a content line, on the syntax side.

IcalValueNode is the syntactic peer of the decoded IcalValue: the bytes after a line’s colon, read as ;-separated components of ,-separated IcalValueLeaf values.

Those are raw bytes, so a foreign charset survives. Straight from parse the value stays one unsplit slice walked on demand; an edit or a model encode splits it into owned components, which then become the source of truth.

The splitting is generic, counting and preserving separators so the value round-trips; what the components mean is the lens’s business.

The codec that unescapes components into decoded values and re-escapes edits back lives on this type, applying the rules of the sibling mode codec.

Structs§

IcalValueNode
A raw value: ;-separated components, each a list of ,-separated leaves.