Skip to content

Commit 2f58683

Browse files
committed
JS: Remove PipeCallExpr
1 parent 1d1149f commit 2f58683

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

javascript/ql/src/semmle/javascript/frameworks/Angular2.qll

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -241,19 +241,6 @@ module Angular2 {
241241
override string getAPrimaryQlClass() { result = "Angular2::PipeRefExpr" }
242242
}
243243

244-
/**
245-
* A call derived from a pipe expression.
246-
*
247-
* For example, the expression `x | f: y` is desugared to `f(x, y)` where
248-
* `f` is a `PipeRefExpr` and the call itself is a `PipeCallExpr`.
249-
*/
250-
class PipeCallExpr extends CallExpr {
251-
PipeCallExpr() { getCallee() instanceof PipeRefExpr }
252-
253-
/** Gets the name of the pipe being invoked, such as `f` in `x | f`. */
254-
string getPipeName() { result = getCallee().(PipeRefExpr).getName() }
255-
}
256-
257244
/**
258245
* A reference to a variable in a template expression, corresponding
259246
* to a property on the component class.

0 commit comments

Comments
 (0)