v1/src/compiler/semantic_analysis/matched_directive_converter library
Functions
-
convertMatchedDirective(
DirectiveAst directive, ProviderSource? providerSource, CompileElement compileElement, CompileDirectiveMetadata compileDirectiveMetadata) → MatchedDirective - Converts a single ast.DirectiveAst node into a ir.MatchedDirective instance.
-
convertMatchedDirectives(
Iterable< DirectiveAst> directives, CompileElement compileElement, CompileDirectiveMetadata compileDirectiveMetadata) → List<MatchedDirective> - Converts a list of ast.DirectiveAst nodes into ir.MatchedDirective instances.