Files
codeql/javascript/ql/test/library-tests/CFG/CFG.ql
2018-08-02 17:53:23 +01:00

10 lines
299 B
Plaintext

import javascript
from ControlFlowNode nd, ControlFlowNode succ
where succ = nd.getASuccessor()
select nd.getLocation().getFile().getStem(),
nd.getLocation().getStartLine(),
nd.describeControlFlowNode(),
succ.getLocation().getStartLine(),
succ.describeControlFlowNode()