mirror of
https://github.com/github/codeql.git
synced 2026-03-29 19:58:17 +02:00
13 lines
289 B
Plaintext
13 lines
289 B
Plaintext
import javascript
|
|
|
|
query Angular2::PipeRefExpr pipeRef() { any() }
|
|
|
|
query CallExpr pipeCall() {
|
|
result.getCallee() instanceof Angular2::PipeRefExpr
|
|
}
|
|
|
|
query CallExpr pipeCallArg(int i, Expr arg) {
|
|
result.getCallee() instanceof Angular2::PipeRefExpr and
|
|
result.getArgument(i) = arg
|
|
}
|