Skip to main content

keyword_ok

Function keyword_ok 

Source
fn keyword_ok(s: &str, anno_ok: bool) -> bool
Expand description

Return true iff ā€˜s’ is a valid keyword or annotation.

(Only allow annotations if anno_ok is true.`