discontinuedPackage angular_compiler has been discontinued and replaced by ngcompiler.

ViewNameResolver class

Name resolver for binding expressions that resolves locals and pipes.

Provides unique names for literal arrays and maps for the view.

Implemented types
Implementers

Constructors

ViewNameResolver(CompileView? view)
Creates a name resolver for view.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLocal(String name, Expression e, [OutputType? type]) → void
callPipe(String name, Expression input, List<Expression> args) → Expression
override
createUniqueBindIndex() → int
override
getLocal(String name) → Expression?
Returns a variable that references the name local.
override
getLocalDeclarations() → List<Statement>
Returns variable declarations for all locals used in this scope.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scope() → ViewNameResolver
Creates a name resolver with shared state for use in a new method scope.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited