DirectiveVisitor class

Utility class for visiting important methods and fields in an @Directive.

NOTE: This code is transitional, as much of the view compiler code lives currently within the angular package. As such, this helps, but does not completely implement compiler logic.

Constructors

DirectiveVisitor({void onHostBinding(Element, DartObject) = _noopClassMember, void onHostListener(MethodElement, DartObject) = _noopClassMethod})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onHostBinding → void Function(Element, DartObject)
Invoked for every valid member annotated with @HostBinding.
final
onHostListener → void Function(MethodElement, DartObject)
Invoked for every valid member annotated with @HostListener.
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
visitDirective(ClassElement element) → void
Visits an @Directive-annotated class element.

Operators

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