Skip to main content

CONTEXTUAL_KEYWORDS

Constant CONTEXTUAL_KEYWORDS 

Source
pub const CONTEXTUAL_KEYWORDS: &[KeywordInfo];
Expand description

Contextual keywords — words that read as keywords in one position but stay usable as ordinary identifiers elsewhere, so they are lexed as Ident and are deliberately absent from KEYWORDS (which is drift-guarded to equal the lexer’s reserved #[token]s). Editor surfaces still owe them a hover and a doc — the mechanical floor over this table lives in bynk-lsp/tests/editor_coverage.rs, mirroring the reserved-keyword tooth (ADR 0156 / ADR 0161).