leo_parser::tokenizer::token

Constant KEYWORD_TOKENS

Source
pub const KEYWORD_TOKENS: &[Token];
Expand description

Represents all valid Leo keyword tokens. This also includes the boolean literals true and false, unlike the ABNF grammar, which classifies them as literals and not keywords. But for the purposes of our lexer implementation, it is fine to include the boolean literals in this list.