Expand description
Parser — KDL schema file → crate::ir::Schema.
Parsing happens in two stages:
- deserialize —
club-kdl’sKdlDeserializederive fills the KDL-shapedrawstructs from the document. - lower —
rawstructs are converted into the validatedcrate::irrepresentation: enum-like strings become real enums, the flattypestring becomes acrate::ir::Ty, and channel semantics (datagramchannel_idrequirements) are checked.
Only the modern dialect is accepted — protocol / channel / request /
returns / event / field, standalone struct / enum, and the
entity dialect record / relation / id. Legacy service / method /
send / recv constructs are not parsed.
Enums§
- Parse
Error - An error produced while parsing a KDL schema.