mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9ed4e3df60
This commit introduces the "t2" API, which processes parsed template ASTs and performs a number of functions such as binding (the process of semantically interpreting cross-references within the template) and directive matching. The API is modeled on TypeScript's TypeChecker API, with oracle methods that give access to collected metadata. This work is a prerequisite for the upcoming template type-checking functionality, and will also become the basis for a refactored TemplateDefinitionBuilder. PR Close #26203