Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1
Commit4ee952e
committed
Introduce a distinct Combinator subclass for each combinator
Where the AST was previously```Selectors::ComplexSelector[ child_nodes: [ Selectors::TypeSelector[value: { name: { value: "section" } }], Selectors::Combinator[value: { value: ">" }], Selectors::TypeSelector[value: { name: { value: "table" } }] ]]```it's now```Selectors::ComplexSelector[ child_nodes: [ Selectors::TypeSelector[value: { name: { value: "a" } }], Selectors::DescendantCombinator, Selectors::TypeSelector[value: { name: { value: "b" } }], Selectors::ChildCombinator, Selectors::TypeSelector[value: { name: { value: "c" } }], Selectors::NextSiblingCombinator, Selectors::TypeSelector[value: { name: { value: "d" } }], Selectors::SubsequentSiblingCombinator, Selectors::TypeSelector[value: { name: { value: "e" } }], Selectors::ColumnSiblingCombinator, Selectors::TypeSelector[value: { name: { value: "f" } }], ]]```1 parent27a9bb5 commit4ee952e
File tree
3 files changed
+58
-20
lines changed- lib/syntax_tree/css
- test
3 files changed
+58
-20
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
423 | 423 |
| |
424 | 424 |
| |
425 | 425 |
| |
426 |
| - | |
| 426 | + | |
427 | 427 |
| |
428 | 428 |
| |
429 | 429 |
| |
|
Lines changed: 45 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
96 | 126 |
| |
97 | 127 |
| |
98 | 128 |
| |
| |||
399 | 429 |
| |
400 | 430 |
| |
401 | 431 |
| |
402 |
| - | |
403 |
| - | |
404 |
| - | |
405 |
| - | |
406 |
| - | |
407 |
| - | |
408 |
| - | |
409 |
| - | |
410 |
| - | |
411 |
| - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
412 | 439 |
| |
413 | 440 |
| |
414 | 441 |
| |
| |||
551 | 578 |
| |
552 | 579 |
| |
553 | 580 |
| |
554 |
| - | |
555 |
| - | |
556 |
| - | |
557 |
| - | |
558 |
| - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
559 | 589 |
| |
560 | 590 |
| |
561 | 591 |
| |
|
Lines changed: 12 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 |
| - | |
| 131 | + | |
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
138 |
| - | |
139 |
| - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
140 | 148 |
| |
141 | 149 |
| |
142 | 150 |
| |
|
0 commit comments
Comments
(0)