Files
2018-11-19 15:15:54 +00:00

9 lines
281 B
Plaintext

import python
from AstNode a, Scope s
where not a instanceof Import and not a instanceof If and not a instanceof AssignStmt and not a instanceof ExprStmt and
a.getScope() = s and
s instanceof Function
select
a.getLocation().getStartLine(), s.getName(), a, count(a.getAFlowNode())