shapesecurity / shift-scope-js

scope analyser for the Shift AST
http://shift-ast.org/scope.html
Apache License 2.0
11 stars 6 forks source link

Checking for use-before-def #38

Open bakkot opened 7 years ago

bakkot commented 7 years ago

It would be useful for several applications (linting, transformation) to know if a variable could possibly be used before it is defined. Perhaps that information could be reported?