Skip to main content

Module tokens

Module tokens 

Source
Expand description

Token count.

Structsยง

Stats
The Tokens metric: per-function and per-file count of tree-sitter leaf tokens, excluding any leaf that is itself a comment or has a comment among its ancestors. Both halves matter: most grammars emit comments as bare leaves, while some (Rust doc comments, Groovy groovydoc, JSX html_comment) give them structured children whose own leaves are not comment kinds.