mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
9 lines
230 B
Plaintext
9 lines
230 B
Plaintext
import python
|
|
|
|
from Call c, AstNode arg, int n, string what
|
|
where
|
|
what = "position" and arg = c.getPositionalArg(n)
|
|
or
|
|
what = "named" and arg = c.getNamedArg(n)
|
|
select c.getLocation().getStartLine(), what, n, arg.toString()
|