package com.semmle.js.ast; /** * An identifier occurring as the right operand of an Angular pipe expression, * which has been desugared to a function call with this expression as the callee. *

* For example, x | f:y is desugared to f(x, y) where the * f is an instance of {@link AngularPipeRef}, and evaluates to the function * being invoked. */ public class AngularPipeRef extends Expression { private final Identifier identifier; public AngularPipeRef(SourceLocation loc, Identifier identifier) { super("AngularPipeRef", loc); this.identifier = identifier; } @Override public A accept(Visitor v, Q q) { return v.visit(this, q); } public Identifier getIdentifier() { return identifier; } }