discontinuedPackage angular_compiler has been discontinued and replaced by ngcompiler.

matchElementDirectives function

List<CompileDirectiveMetadata> matchElementDirectives(
  1. List<CompileDirectiveMetadata> directives,
  2. ElementAst astNode
)

Returns the matched components with this element ast in the directives.

Implementation

List<CompileDirectiveMetadata> matchElementDirectives(
        List<CompileDirectiveMetadata> directives, ast.ElementAst astNode) =>
    _ParseContext._matchElementDirectives(directives, astNode);