refactor(ivy): align compiler with runtime (#22921)
Remove `containerRefreshStart` and `containerRefreshEnd` instruction from the output. Generate directives as a list in `componentDef` rather than inline into instructions. This is consistent in making selector resolution runtime so that translation of templates can follow locality. PR Close #22921
This commit is contained in:

committed by
Alex Rickabaugh

parent
5266ffe04a
commit
60065935be
@ -28,6 +28,17 @@ const _SELECTOR_REGEXP = new RegExp(
|
||||
export class CssSelector {
|
||||
element: string|null = null;
|
||||
classNames: string[] = [];
|
||||
/**
|
||||
* The selectors are encoded in pairs where:
|
||||
* - even locations are attribute names
|
||||
* - odd locations are attribute values.
|
||||
*
|
||||
* Example:
|
||||
* Selector: `[key1=value1][key2]` would parse to:
|
||||
* ```
|
||||
* ['key1', 'value1', 'key2', '']
|
||||
* ```
|
||||
*/
|
||||
attrs: string[] = [];
|
||||
notSelectors: CssSelector[] = [];
|
||||
|
||||
|
Reference in New Issue
Block a user