Constant leo_parser::KEYWORD_TOKENS

source ·
pub const KEYWORD_TOKENS: &[Token];
Expand description

Represents all valid Leo keyword tokens. This differs from the ABNF grammar for the following reasons: Adding true and false to the keywords of the ABNF grammar makes the lexical grammar ambiguous, because true and false are also boolean literals, which are different tokens from keywords.