|
33 | 33 | | * TSUnionType:exit: (types: TSStringKeyword, TSNumberKeyword) |
34 | 34 | | * TSTypeAliasDeclaration:exit: (typeAnnotation: TSUnionType) |
35 | 35 | | * Program:exit |
36 | | - ,-[files/index.ts:5:1] |
37 | | - 4 | // All `Identifier`s |
38 | | - 5 | ,-> let a = { x: y }; |
39 | | - 6 | | |
40 | | - 7 | | // No `ParenthesizedExpression`s in AST |
41 | | - 8 | | const b = (x * ((('str' + ((123)))))); |
42 | | - 9 | | |
43 | | - 10 | | // TS syntax |
44 | | - 11 | | type T = string; |
45 | | - 12 | | |
46 | | - 13 | | // No `TSParenthesizedType`s in AST |
47 | | - 14 | `-> type U = (((((string)) | ((number))))); |
| 36 | + ,-[files/index.ts:4:1] |
| 37 | + 3 | // All `Identifier`s |
| 38 | + 4 | ,-> let a = { x: y }; |
| 39 | + 5 | | |
| 40 | + 6 | | // No `ParenthesizedExpression`s in AST |
| 41 | + 7 | | const b = (x * ((('str' + ((123)))))); |
| 42 | + 8 | | |
| 43 | + 9 | | // TS syntax |
| 44 | + 10 | | type T = string; |
| 45 | + 11 | | |
| 46 | + 12 | | // No `TSParenthesizedType`s in AST |
| 47 | + 13 | `-> type U = (((((string)) | ((number))))); |
48 | 48 | `---- |
49 | 49 |
|
50 | 50 | x estree-check(check): program: |
51 | | - | start/end: [59,265] |
52 | | - | range: [59,265] |
53 | | - | loc: [{"start":{"line":5,"column":0},"end":{"line":15,"column":0}}] |
54 | | - ,-[files/index.ts:5:1] |
55 | | - 4 | // All `Identifier`s |
56 | | - 5 | ,-> let a = { x: y }; |
57 | | - 6 | | |
58 | | - 7 | | // No `ParenthesizedExpression`s in AST |
59 | | - 8 | | const b = (x * ((('str' + ((123)))))); |
60 | | - 9 | | |
61 | | - 10 | | // TS syntax |
62 | | - 11 | | type T = string; |
63 | | - 12 | | |
64 | | - 13 | | // No `TSParenthesizedType`s in AST |
65 | | - 14 | `-> type U = (((((string)) | ((number))))); |
| 51 | + | start/end: [37,243] |
| 52 | + | range: [37,243] |
| 53 | + | loc: [{"start":{"line":4,"column":0},"end":{"line":14,"column":0}}] |
| 54 | + ,-[files/index.ts:4:1] |
| 55 | + 3 | // All `Identifier`s |
| 56 | + 4 | ,-> let a = { x: y }; |
| 57 | + 5 | | |
| 58 | + 6 | | // No `ParenthesizedExpression`s in AST |
| 59 | + 7 | | const b = (x * ((('str' + ((123)))))); |
| 60 | + 8 | | |
| 61 | + 9 | | // TS syntax |
| 62 | + 10 | | type T = string; |
| 63 | + 11 | | |
| 64 | + 12 | | // No `TSParenthesizedType`s in AST |
| 65 | + 13 | `-> type U = (((((string)) | ((number))))); |
66 | 66 | `---- |
67 | 67 |
|
68 | 68 | x estree-check(check): ident "a": |
69 | | - | start/end: [63,64] |
70 | | - | range: [63,64] |
71 | | - | loc: [{"start":{"line":5,"column":4},"end":{"line":5,"column":5}}] |
72 | | - ,-[files/index.ts:5:5] |
73 | | - 4 | // All `Identifier`s |
74 | | - 5 | let a = { x: y }; |
| 69 | + | start/end: [41,42] |
| 70 | + | range: [41,42] |
| 71 | + | loc: [{"start":{"line":4,"column":4},"end":{"line":4,"column":5}}] |
| 72 | + ,-[files/index.ts:4:5] |
| 73 | + 3 | // All `Identifier`s |
| 74 | + 4 | let a = { x: y }; |
75 | 75 | : ^ |
76 | | - 6 | |
| 76 | + 5 | |
77 | 77 | `---- |
78 | 78 |
|
79 | 79 | x estree-check(check): ident "x": |
80 | | - | start/end: [69,70] |
81 | | - | range: [69,70] |
82 | | - | loc: [{"start":{"line":5,"column":10},"end":{"line":5,"column":11}}] |
83 | | - ,-[files/index.ts:5:11] |
84 | | - 4 | // All `Identifier`s |
85 | | - 5 | let a = { x: y }; |
| 80 | + | start/end: [47,48] |
| 81 | + | range: [47,48] |
| 82 | + | loc: [{"start":{"line":4,"column":10},"end":{"line":4,"column":11}}] |
| 83 | + ,-[files/index.ts:4:11] |
| 84 | + 3 | // All `Identifier`s |
| 85 | + 4 | let a = { x: y }; |
86 | 86 | : ^ |
87 | | - 6 | |
| 87 | + 5 | |
88 | 88 | `---- |
89 | 89 |
|
90 | 90 | x estree-check(check): ident "y": |
91 | | - | start/end: [72,73] |
92 | | - | range: [72,73] |
93 | | - | loc: [{"start":{"line":5,"column":13},"end":{"line":5,"column":14}}] |
94 | | - ,-[files/index.ts:5:14] |
95 | | - 4 | // All `Identifier`s |
96 | | - 5 | let a = { x: y }; |
| 91 | + | start/end: [50,51] |
| 92 | + | range: [50,51] |
| 93 | + | loc: [{"start":{"line":4,"column":13},"end":{"line":4,"column":14}}] |
| 94 | + ,-[files/index.ts:4:14] |
| 95 | + 3 | // All `Identifier`s |
| 96 | + 4 | let a = { x: y }; |
97 | 97 | : ^ |
98 | | - 6 | |
| 98 | + 5 | |
99 | 99 | `---- |
100 | 100 |
|
101 | 101 | x estree-check(check): ident "b": |
102 | | - | start/end: [124,125] |
103 | | - | range: [124,125] |
104 | | - | loc: [{"start":{"line":8,"column":6},"end":{"line":8,"column":7}}] |
105 | | - ,-[files/index.ts:8:7] |
106 | | - 7 | // No `ParenthesizedExpression`s in AST |
107 | | - 8 | const b = (x * ((('str' + ((123)))))); |
| 102 | + | start/end: [102,103] |
| 103 | + | range: [102,103] |
| 104 | + | loc: [{"start":{"line":7,"column":6},"end":{"line":7,"column":7}}] |
| 105 | + ,-[files/index.ts:7:7] |
| 106 | + 6 | // No `ParenthesizedExpression`s in AST |
| 107 | + 7 | const b = (x * ((('str' + ((123)))))); |
108 | 108 | : ^ |
109 | | - 9 | |
| 109 | + 8 | |
110 | 110 | `---- |
111 | 111 |
|
112 | 112 | x estree-check(check): ident "x": |
113 | | - | start/end: [129,130] |
114 | | - | range: [129,130] |
115 | | - | loc: [{"start":{"line":8,"column":11},"end":{"line":8,"column":12}}] |
116 | | - ,-[files/index.ts:8:12] |
117 | | - 7 | // No `ParenthesizedExpression`s in AST |
118 | | - 8 | const b = (x * ((('str' + ((123)))))); |
| 113 | + | start/end: [107,108] |
| 114 | + | range: [107,108] |
| 115 | + | loc: [{"start":{"line":7,"column":11},"end":{"line":7,"column":12}}] |
| 116 | + ,-[files/index.ts:7:12] |
| 117 | + 6 | // No `ParenthesizedExpression`s in AST |
| 118 | + 7 | const b = (x * ((('str' + ((123)))))); |
119 | 119 | : ^ |
120 | | - 9 | |
| 120 | + 8 | |
121 | 121 | `---- |
122 | 122 |
|
123 | 123 | x estree-check(check): ident "T": |
124 | | - | start/end: [176,177] |
125 | | - | range: [176,177] |
126 | | - | loc: [{"start":{"line":11,"column":5},"end":{"line":11,"column":6}}] |
127 | | - ,-[files/index.ts:11:6] |
128 | | - 10 | // TS syntax |
129 | | - 11 | type T = string; |
| 124 | + | start/end: [154,155] |
| 125 | + | range: [154,155] |
| 126 | + | loc: [{"start":{"line":10,"column":5},"end":{"line":10,"column":6}}] |
| 127 | + ,-[files/index.ts:10:6] |
| 128 | + 9 | // TS syntax |
| 129 | + 10 | type T = string; |
130 | 130 | : ^ |
131 | | - 12 | |
| 131 | + 11 | |
132 | 132 | `---- |
133 | 133 |
|
134 | 134 | x estree-check(check): ident "U": |
135 | | - | start/end: [230,231] |
136 | | - | range: [230,231] |
137 | | - | loc: [{"start":{"line":14,"column":5},"end":{"line":14,"column":6}}] |
138 | | - ,-[files/index.ts:14:6] |
139 | | - 13 | // No `TSParenthesizedType`s in AST |
140 | | - 14 | type U = (((((string)) | ((number))))); |
| 135 | + | start/end: [208,209] |
| 136 | + | range: [208,209] |
| 137 | + | loc: [{"start":{"line":13,"column":5},"end":{"line":13,"column":6}}] |
| 138 | + ,-[files/index.ts:13:6] |
| 139 | + 12 | // No `TSParenthesizedType`s in AST |
| 140 | + 13 | type U = (((((string)) | ((number))))); |
141 | 141 | : ^ |
142 | 142 | `---- |
143 | 143 |
|
|
0 commit comments