Skip to main content

Module token

Module token 

Source
Expand description

Backend-neutral lexical tokens.

Tokens contain only their kind and source span. The original spelling is intentionally not copied: use Token::text with the source query when a lossless representation is needed.

Structs§

Token
A token produced by the lexer.

Enums§

Keyword
A word recognized specially by this crate’s lexer.
TokenKind
A lexical token class understood by the openCypher parser.