mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
12 lines
264 B
Plaintext
12 lines
264 B
Plaintext
import default
|
|
|
|
string printableEnclosingCallable(Expr e) {
|
|
result = e.getEnclosingCallable().getName()
|
|
or
|
|
not exists(e.getEnclosingCallable()) and result = "--none--"
|
|
}
|
|
|
|
from Expr e
|
|
where e.getFile().toString() = "A"
|
|
select e, printableEnclosingCallable(e)
|