renamed "isGenerator" to "is_generator"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:52:14 +02:00
parent a57f93b41e
commit b3f7c26669
14 changed files with 23 additions and 16 deletions

View File

@@ -15,6 +15,6 @@ import javascript
from YieldExpr yield, Function f
where
f = yield.getEnclosingFunction() and
not isGenerator(f)
not is_generator(f)
select yield, "This yield expression is contained in $@ which is not marked as a generator.",
f.getFirstToken(), f.describe()