MissingDirectiveValidator class
A validator to catch missing elements, direcitves, attributes, and outputs.
Issue a warning when @skipSchemaValidationFor annotation not found and
- an unknown tag cannot find a matched directive.
- an attribute is neither a valid native property in HTML5, or an input binding for an element, or a matched directive.
- an output is neither a native event or an output binding for an element.
- Inheritance
-
- Object
- InPlaceRecursiveTemplateVisitor<
_MissingDirectiveContext> - MissingDirectiveValidator
Constructors
- MissingDirectiveValidator(ElementSchemaRegistry _registry)
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitAll(
Iterable< TemplateAst> ? astNodes, [_MissingDirectiveContext? context]) → void -
inherited
-
visitAttr(
AttrAst ast, [_MissingDirectiveContext? context]) → void -
override
-
visitBoundText(
BoundTextAst ast, _MissingDirectiveContext? _) → void -
inherited
-
visitDirective(
DirectiveAst ast, _MissingDirectiveContext? context) → void -
inherited
-
visitDirectiveEvent(
BoundDirectiveEventAst ast, _MissingDirectiveContext? _) → void -
inherited
-
visitDirectiveProperty(
BoundDirectivePropertyAst ast, _MissingDirectiveContext? _) → void -
inherited
-
visitElement(
ElementAst ast, [_MissingDirectiveContext? _]) → void -
override
-
visitElementProperty(
BoundElementPropertyAst ast, _MissingDirectiveContext? _) → void -
inherited
-
visitEmbeddedTemplate(
EmbeddedTemplateAst ast, [_MissingDirectiveContext? _]) → void -
override
-
visitEvent(
BoundEventAst ast, [_MissingDirectiveContext? context]) → void -
override
-
visitI18nText(
I18nTextAst ast, _MissingDirectiveContext? _) → void -
inherited
-
visitNgContainer(
NgContainerAst ast, _MissingDirectiveContext? context) → void -
inherited
-
visitNgContent(
NgContentAst ast, _MissingDirectiveContext? _) → void -
inherited
-
visitProvider(
ProviderAst ast, _MissingDirectiveContext? _) → void -
inherited
-
visitReference(
ReferenceAst ast, _MissingDirectiveContext? _) → void -
inherited
-
visitText(
TextAst ast, _MissingDirectiveContext? _) → void -
inherited
-
visitVariable(
VariableAst ast, _MissingDirectiveContext? _) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited