angular/packages/compiler/test/render3
Kristiyan Kostadinov 8488279659 refactor(compiler): simplify tracking of directives (#61018)
An earlier commit that introduced tracking of selectorless directives to the template binder made it so `getDirectivesOfNode` returns _all_ of the matched directives while a new method called `getOwnedDirectives` would return only the ones brought in by the specific node.

In hindsight, this is likely to cause bugs in the future, because it's unclear whether to reach for `getDirectivesOfNode` or `getOwnedDirectives`. These changes remove `getOwnedDirectives` and make it so in selectorless `getDirectivesOfNode` accepts the directive AST node itself.

Another goal of this refactor is that the TCB shouldn't have to check the `selectorlessEnabled` config option.

PR Close #61018
2025-04-29 21:06:10 +00:00
..
util refactor(compiler): integrate new AST nodes into visitors (#60724) 2025-04-04 11:28:47 -07:00
view refactor(compiler): simplify tracking of directives (#61018) 2025-04-29 21:06:10 +00:00
BUILD.bazel build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
r3_ast_absolute_span_spec.ts refactor(compiler): convert scripts within packages/compiler to relative imports (#60625) 2025-04-01 11:57:53 +00:00
r3_ast_spans_spec.ts refactor(compiler): produce selectorless ASTs (#60724) 2025-04-04 11:28:47 -07:00
r3_template_transform_spec.ts refactor(compiler): validate references in selectorless (#60952) 2025-04-23 09:55:54 +02:00
README.md feat(compiler): implement "enableIvy" compiler option (#21427) 2018-01-18 18:22:44 -06:00
style_parser_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00

Tests in this directory are excluded from running in the browser and only run in node.