Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit ccd26f4

Browse files
author
Juanjo Alvarez
committed
Update fixtures removing duplicates.
Signed-off-by: Juanjo Alvarez <[email protected]>
1 parent 395db59 commit ccd26f4

28 files changed

+390
-390
lines changed

fixtures/aritmeticops.py.uast

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Module {
2727
. . . . . }
2828
. . . . . Children: {
2929
. . . . . . 0: Num {
30-
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Expression,Primitive
30+
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Primitive
3131
. . . . . . . TOKEN "1"
3232
. . . . . . . StartPosition: {
3333
. . . . . . . . Offset: 0
@@ -44,14 +44,14 @@ Module {
4444
. . . . . . . }
4545
. . . . . . }
4646
. . . . . . 1: Add {
47-
. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic
47+
. . . . . . . Roles: Expression,Binary,Operator,Add,Arithmetic
4848
. . . . . . . TOKEN "+"
4949
. . . . . . . Properties: {
5050
. . . . . . . . internalRole: op
5151
. . . . . . . }
5252
. . . . . . }
5353
. . . . . . 2: Num {
54-
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive
54+
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Primitive
5555
. . . . . . . TOKEN "2"
5656
. . . . . . . StartPosition: {
5757
. . . . . . . . Offset: 2
@@ -94,7 +94,7 @@ Module {
9494
. . . . . }
9595
. . . . . Children: {
9696
. . . . . . 0: Num {
97-
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Expression,Primitive
97+
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Primitive
9898
. . . . . . . TOKEN "1"
9999
. . . . . . . StartPosition: {
100100
. . . . . . . . Offset: 4
@@ -111,14 +111,14 @@ Module {
111111
. . . . . . . }
112112
. . . . . . }
113113
. . . . . . 1: Sub {
114-
. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Substract,Arithmetic
114+
. . . . . . . Roles: Expression,Binary,Operator,Substract,Arithmetic
115115
. . . . . . . TOKEN "-"
116116
. . . . . . . Properties: {
117117
. . . . . . . . internalRole: op
118118
. . . . . . . }
119119
. . . . . . }
120120
. . . . . . 2: Num {
121-
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive
121+
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Primitive
122122
. . . . . . . TOKEN "2"
123123
. . . . . . . StartPosition: {
124124
. . . . . . . . Offset: 6
@@ -161,7 +161,7 @@ Module {
161161
. . . . . }
162162
. . . . . Children: {
163163
. . . . . . 0: Num {
164-
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Expression,Primitive
164+
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Primitive
165165
. . . . . . . TOKEN "1"
166166
. . . . . . . StartPosition: {
167167
. . . . . . . . Offset: 8
@@ -178,14 +178,14 @@ Module {
178178
. . . . . . . }
179179
. . . . . . }
180180
. . . . . . 1: Mult {
181-
. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic
181+
. . . . . . . Roles: Expression,Binary,Operator,Multiply,Arithmetic
182182
. . . . . . . TOKEN "*"
183183
. . . . . . . Properties: {
184184
. . . . . . . . internalRole: op
185185
. . . . . . . }
186186
. . . . . . }
187187
. . . . . . 2: Num {
188-
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive
188+
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Primitive
189189
. . . . . . . TOKEN "2"
190190
. . . . . . . StartPosition: {
191191
. . . . . . . . Offset: 10
@@ -228,7 +228,7 @@ Module {
228228
. . . . . }
229229
. . . . . Children: {
230230
. . . . . . 0: Num {
231-
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Expression,Primitive
231+
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Primitive
232232
. . . . . . . TOKEN "1"
233233
. . . . . . . StartPosition: {
234234
. . . . . . . . Offset: 12
@@ -245,14 +245,14 @@ Module {
245245
. . . . . . . }
246246
. . . . . . }
247247
. . . . . . 1: Div {
248-
. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Divide,Arithmetic
248+
. . . . . . . Roles: Expression,Binary,Operator,Divide,Arithmetic
249249
. . . . . . . TOKEN "/"
250250
. . . . . . . Properties: {
251251
. . . . . . . . internalRole: op
252252
. . . . . . . }
253253
. . . . . . }
254254
. . . . . . 2: Num {
255-
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive
255+
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Primitive
256256
. . . . . . . TOKEN "2"
257257
. . . . . . . StartPosition: {
258258
. . . . . . . . Offset: 14
@@ -295,7 +295,7 @@ Module {
295295
. . . . . }
296296
. . . . . Children: {
297297
. . . . . . 0: Num {
298-
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Expression,Primitive
298+
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Primitive
299299
. . . . . . . TOKEN "1"
300300
. . . . . . . StartPosition: {
301301
. . . . . . . . Offset: 16
@@ -312,14 +312,14 @@ Module {
312312
. . . . . . . }
313313
. . . . . . }
314314
. . . . . . 1: FloorDiv {
315-
. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Divide,Arithmetic,Incomplete
315+
. . . . . . . Roles: Expression,Binary,Operator,Divide,Arithmetic,Incomplete
316316
. . . . . . . TOKEN "//"
317317
. . . . . . . Properties: {
318318
. . . . . . . . internalRole: op
319319
. . . . . . . }
320320
. . . . . . }
321321
. . . . . . 2: Num {
322-
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive
322+
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Primitive
323323
. . . . . . . TOKEN "2"
324324
. . . . . . . StartPosition: {
325325
. . . . . . . . Offset: 19
@@ -362,7 +362,7 @@ Module {
362362
. . . . . }
363363
. . . . . Children: {
364364
. . . . . . 0: Num {
365-
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Expression,Primitive
365+
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Primitive
366366
. . . . . . . TOKEN "1"
367367
. . . . . . . StartPosition: {
368368
. . . . . . . . Offset: 21
@@ -379,14 +379,14 @@ Module {
379379
. . . . . . . }
380380
. . . . . . }
381381
. . . . . . 1: Mod {
382-
. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic
382+
. . . . . . . Roles: Expression,Binary,Operator,Modulo,Arithmetic
383383
. . . . . . . TOKEN "%%"
384384
. . . . . . . Properties: {
385385
. . . . . . . . internalRole: op
386386
. . . . . . . }
387387
. . . . . . }
388388
. . . . . . 2: Num {
389-
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive
389+
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Primitive
390390
. . . . . . . TOKEN "2"
391391
. . . . . . . StartPosition: {
392392
. . . . . . . . Offset: 23
@@ -429,7 +429,7 @@ Module {
429429
. . . . . }
430430
. . . . . Children: {
431431
. . . . . . 0: Num {
432-
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Expression,Primitive
432+
. . . . . . . Roles: Expression,Binary,Left,Literal,Number,Primitive
433433
. . . . . . . TOKEN "1"
434434
. . . . . . . StartPosition: {
435435
. . . . . . . . Offset: 25
@@ -446,14 +446,14 @@ Module {
446446
. . . . . . . }
447447
. . . . . . }
448448
. . . . . . 1: Pow {
449-
. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Arithmetic,Incomplete
449+
. . . . . . . Roles: Expression,Binary,Operator,Arithmetic,Incomplete
450450
. . . . . . . TOKEN "**"
451451
. . . . . . . Properties: {
452452
. . . . . . . . internalRole: op
453453
. . . . . . . }
454454
. . . . . . }
455455
. . . . . . 2: Num {
456-
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive
456+
. . . . . . . Roles: Expression,Binary,Right,Literal,Number,Primitive
457457
. . . . . . . TOKEN "2"
458458
. . . . . . . StartPosition: {
459459
. . . . . . . . Offset: 28

fixtures/augassign.py.uast

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Module {
2222
. . . }
2323
. . . Children: {
2424
. . . . 0: Add {
25-
. . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary
25+
. . . . . Roles: Binary,Operator,Add,Arithmetic
2626
. . . . . TOKEN "+"
2727
. . . . . Properties: {
2828
. . . . . . internalRole: op
@@ -78,7 +78,7 @@ Module {
7878
. . . }
7979
. . . Children: {
8080
. . . . 0: Sub {
81-
. . . . . Roles: Binary,Operator,Substract,Arithmetic,Operator,Binary
81+
. . . . . Roles: Binary,Operator,Substract,Arithmetic
8282
. . . . . TOKEN "-"
8383
. . . . . Properties: {
8484
. . . . . . internalRole: op
@@ -134,7 +134,7 @@ Module {
134134
. . . }
135135
. . . Children: {
136136
. . . . 0: Mult {
137-
. . . . . Roles: Binary,Operator,Multiply,Arithmetic,Operator,Binary
137+
. . . . . Roles: Binary,Operator,Multiply,Arithmetic
138138
. . . . . TOKEN "*"
139139
. . . . . Properties: {
140140
. . . . . . internalRole: op
@@ -190,7 +190,7 @@ Module {
190190
. . . }
191191
. . . Children: {
192192
. . . . 0: Div {
193-
. . . . . Roles: Binary,Operator,Divide,Arithmetic,Operator,Binary
193+
. . . . . Roles: Binary,Operator,Divide,Arithmetic
194194
. . . . . TOKEN "/"
195195
. . . . . Properties: {
196196
. . . . . . internalRole: op

0 commit comments

Comments
 (0)