Expand description
Node kinds classified as framework-hook calls.
Detects React, Preact, Vue (composables), and Svelte-style hook calls
in TypeScript and JavaScript. Identified by callee text (^use[A-Z]).
No tree-sitter node-kind matching — call_expression is already collected
by the TS/JS adapters; this module provides callee-text discrimination only.
Constants§
- NODE_
KINDS - Tree-sitter node kinds for framework-hook calls.
Functions§
- matches_
callee - Return
truewhentextlooks like a framework-hook callee forlanguage.