Commit b0b4218
authored
fix(indent): correctly ignore
* refactor: refactor array-like node handling to use a shared function
* refactor: move `JSXText` to `baseOffsetListeners`
* refactor: extract operator token handling into a separate function
* refactor: extract conditional nodes handling into a separate function
* refactor: extract object-like nodes handling into a separate function
* test: add cases
* refactor: move `TSImportEqualsDeclaration` to `baseOffsetListeners`
* refactor: extract member expressions handling into a separate function
* chore: rename function
* refactor: separate `TSTypeParameterDeclaration` and `TSTypeParameterInstantiation`
* refactor: extract block-like nodes handling into a separate function
* refactor: extract heritage checking logic into a separate function
* refactor: remove unused `convertTSPropertySignatureToProperty` function
* test: add some cases
* test: add more `ClassExpression` cases
* fix: add missing conditional node check
related: 34e4057JSXText and TS nodes (#785)1 parent 07b2ee9 commit b0b4218
3 files changed
Lines changed: 522 additions & 618 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1654 | 1654 | | |
1655 | 1655 | | |
1656 | 1656 | | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
1657 | 1686 | | |
1658 | 1687 | | |
1659 | 1688 | | |
| |||
8087 | 8116 | | |
8088 | 8117 | | |
8089 | 8118 | | |
| 8119 | + | |
| 8120 | + | |
| 8121 | + | |
| 8122 | + | |
| 8123 | + | |
| 8124 | + | |
| 8125 | + | |
| 8126 | + | |
| 8127 | + | |
| 8128 | + | |
| 8129 | + | |
| 8130 | + | |
| 8131 | + | |
| 8132 | + | |
| 8133 | + | |
| 8134 | + | |
| 8135 | + | |
| 8136 | + | |
| 8137 | + | |
| 8138 | + | |
| 8139 | + | |
| 8140 | + | |
| 8141 | + | |
| 8142 | + | |
| 8143 | + | |
| 8144 | + | |
| 8145 | + | |
| 8146 | + | |
8090 | 8147 | | |
8091 | 8148 | | |
8092 | 8149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
365 | 370 | | |
366 | 371 | | |
367 | 372 | | |
| |||
1391 | 1396 | | |
1392 | 1397 | | |
1393 | 1398 | | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
1394 | 1429 | | |
1395 | 1430 | | |
1396 | 1431 | | |
| |||
0 commit comments