Skip to main content

expl_toggle

Function expl_toggle 

Source
pub fn expl_toggle(text: &str) -> Option<ExplToggle>
Expand description

Classify a control word’s text as an expl3 catcode-mode toggle, if any. Only meaningful on SyntaxKind::CONTROL_WORD text: a \ExplSyntaxOn inside a \verb/comment lexes as a VERB/COMMENT token and so never reaches here.