Skip to content

lexCborNotation

lexCborNotation(source): Token[]

Defined in: packages/format-cbor/src/notation/lexer.ts:39

Tokenizes CBOR diagnostic notation (RFC 8949 §8), extended with EDN comments (RFC 8610 Appendix G.6: / text /, considered whitespace) and byte-string whitespace tolerance (Appendix G.1). Other EDN extensions (hex/octal/binary numbers, concatenated strings, embedded-CBOR <<...>>, unprefixed text-as-bytes, base32/base32hex) are out of scope — see the package README.

string

Token[]