variable_xref
Trace a variable's data flow: identify its definitions, reads, and writes in a JavaScript/TypeScript project.
Instructions
Data-flow cross-reference of a variable: where it is defined, read and written (semantic DEFINITION/WRITE/READ classification via ts-morph).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name or path of the loaded project | |
| symbol | Yes | Variable name |