BindingPipe class
A method call that has been interpreted as a specialized "pipe" invocation.
A pipe call looks (and is parsed) similar to a method call, but is treated differently in terms of how it is evaluated (and converted to Dart code by the generator).
See go/angular-dart/guide/syntax#pipes.
// $pipe.foo('bar', 'baz')
BindingPipe(
'foo',
LiteralPrimitive('bar'),
[LiteralPrimitive('baz')],
)
Constructors
-
BindingPipe(AST exp, String name, List<
AST> args)
Properties
-
args
→ List<
AST> -
Subsequent (often, but not always optional) arguments passed.
final
- exp → AST
-
First (required) argument passed into the pipe.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name of the pipe.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visit<
R, C, CO extends C> (AstVisitor< R, C?> visitor, [CO? context]) → R -
Given a
visitor
and optionally acontext
, produce a return valueR
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited