@slick_kilmister/find-and-tag
v1.0.3
Published
Readme
Code Tagger
Usage
Install via:
npm install -g @slick_kilmister/find-and-tagRun via:
findandtag -i <input path> -o <output path>Script logs any unknown types and non-declared variables to stdout.
Actions
- process all declarations
a-prefix for function arguments (only works if the function arguments are on the same line as theFUNCTION-keyword).l-prefix for formal declarations
- process all references
- does a lookup to any processed declaration
- logs any unknown variables
- unknowns are re-inserted unchanged
Limitations
- Is not context aware; every variable is treated like a global.
- Can't handle multiple declarations with identical name but different type.
