[][src]Module cddl_cat::parser

This module contains a CDDL parser.

The only public items here are the function parse_cddl and the error ParseError and its child enum ErrorKind.

Unimplemented features:

  • rule with genericparm
  • extend-type /=
  • extend-group //=
  • type1 rangeop and ctlop
  • type2 starting with ~, &, #
  • grpent groupname with genericarg
  • integers with 0x and 0b
  • hexfloat
  • base64 bytestring literals (b64'...')

Structs

ParseError

An error that occurred during CDDL parsing.

Enums

ErrorKind

The "kind" of error generated during CDDL parsing.

Functions

parse_cddl

The main entry point for parsing CDDL text.