Available on crate feature
parser only.Expand description
§Decode (syntax to model)
The read side of the structural bridge: project a raw syntax tree onto the decoded model.
A IcalValueNode decodes its components, a IcalParamNode decodes
into an IcalParam, an IcalLine decodes into an IcalProp, and an
IcalCst decodes into a whole Ical, recursively, walking every
nested component.
A property’s value kind is resolved through its spec, not a name match:
IcalLine::decode maps the name to an IcalPropKind, asks the spec
for the in-force value kind (version plus any declared VALUE), then
routes to that kind’s decoder.
The parameter name dispatch is the match in IcalParamNode::decode.