pub fn is_definition_command(name: &str) -> boolExpand description
Whether name is a definition command the scanner recognizes
(\newcommand/\def/xparse families; see [DefKind]). Exposed so consumers
that must treat a definition’s arguments as code carried, not executed (the
linter’s missing-required-argument rule skips partial applications like
\newcommand{\bold}{\textbf}) share the scanner’s one name list instead of
duplicating it.