Expand description
Token count.
Structsยง
- Stats
- The
Tokensmetric: 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, JSXhtml_comment) give them structured children whose own leaves are not comment kinds.