Module token

Module token 

Source
Expand description

CDDL tokens for lexing

Enums§

ByteValue
Byte string values
ControlOperator
Control operator tokens
Numeric
Numeric value
RangeValue
Range value
SocketPlug
Socket/plug prefix
TagConstraint
Tag constraint for CBOR tags (RFC 9682 Section 3.2)
Token
Token which represents a valid CDDL character or sequence
Value
Literal value

Functions§

closing_delimiter
If token is an opening delimiter, return its matching closing delimiter
lookup_control_from_str
Return an optional control token from a given string
lookup_ident
Returns token in standard prelude from given string