Skip to main content

scan_definitions

Function scan_definitions 

Source
pub fn scan_definitions(root: &SyntaxNode) -> SignatureDb
Expand description

Scan root for user command/environment definitions and return their extracted signatures. Names already defined earlier in the document are overwritten, so a later \renewcommand wins — TeX’s last-definition-wins, modulo execution order we do not track.