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

Commit fd68bed

Browse files
committed
Regenerated related integration tests
1 parent e5c7f6a commit fd68bed

15 files changed

+31
-31
lines changed

tests/classdef.py.uast

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: ClassDef {
13-
. . . Roles: TypeDeclaration
13+
. . . Roles: TypeDeclaration,SimpleIdentifier
1414
. . . TOKEN "Animal"
1515
. . . StartPosition: {
1616
. . . . Offset: 0
@@ -28,7 +28,7 @@ Module {
2828
. . . . . }
2929
. . . . . Children: {
3030
. . . . . . 0: FunctionDef {
31-
. . . . . . . Roles: FunctionDeclaration,FunctionDeclarationName
31+
. . . . . . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
3232
. . . . . . . TOKEN "__init__"
3333
. . . . . . . StartPosition: {
3434
. . . . . . . . Offset: 0
@@ -165,7 +165,7 @@ Module {
165165
. . . . . . . }
166166
. . . . . . }
167167
. . . . . . 1: FunctionDef {
168-
. . . . . . . Roles: FunctionDeclaration,FunctionDeclarationName
168+
. . . . . . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
169169
. . . . . . . TOKEN "method"
170170
. . . . . . . StartPosition: {
171171
. . . . . . . . Offset: 0
@@ -265,7 +265,7 @@ Module {
265265
. . . . . . . }
266266
. . . . . . }
267267
. . . . . . 2: FunctionDef {
268-
. . . . . . . Roles: FunctionDeclaration,FunctionDeclarationName
268+
. . . . . . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
269269
. . . . . . . TOKEN "a"
270270
. . . . . . . StartPosition: {
271271
. . . . . . . . Offset: 0
@@ -386,7 +386,7 @@ Module {
386386
. . . . . . . }
387387
. . . . . . }
388388
. . . . . . 3: FunctionDef {
389-
. . . . . . . Roles: FunctionDeclaration,FunctionDeclarationName
389+
. . . . . . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
390390
. . . . . . . TOKEN "a"
391391
. . . . . . . StartPosition: {
392392
. . . . . . . . Offset: 0

tests/classdef_inheritance.py.uast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: ClassDef {
13-
. . . Roles: TypeDeclaration
13+
. . . Roles: TypeDeclaration,SimpleIdentifier
1414
. . . TOKEN "Dog"
1515
. . . StartPosition: {
1616
. . . . Offset: 0
@@ -60,7 +60,7 @@ Module {
6060
. . . }
6161
. . }
6262
. . 1: ClassDef {
63-
. . . Roles: TypeDeclaration
63+
. . . Roles: TypeDeclaration,SimpleIdentifier
6464
. . . TOKEN "RobotDog"
6565
. . . StartPosition: {
6666
. . . . Offset: 0

tests/classdef_metaclass_py2.py.uast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: ClassDef {
13-
. . . Roles: TypeDeclaration
13+
. . . Roles: TypeDeclaration,SimpleIdentifier
1414
. . . TOKEN "MySingleton"
1515
. . . StartPosition: {
1616
. . . . Offset: 0

tests/classdef_metaclass_py3.py.uast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: ClassDef {
13-
. . . Roles: TypeDeclaration
13+
. . . Roles: TypeDeclaration,SimpleIdentifier
1414
. . . TOKEN "MySingleton"
1515
. . . StartPosition: {
1616
. . . . Offset: 0
@@ -70,7 +70,7 @@ Module {
7070
. . . }
7171
. . }
7272
. . 1: ClassDef {
73-
. . . Roles: TypeDeclaration
73+
. . . Roles: TypeDeclaration,SimpleIdentifier
7474
. . . TOKEN "MySingleton"
7575
. . . StartPosition: {
7676
. . . . Offset: 0

tests/functiondef_annotated.py.uast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: FunctionDef {
13-
. . . Roles: FunctionDeclaration,FunctionDeclarationName
13+
. . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
1414
. . . TOKEN "someFunc"
1515
. . . StartPosition: {
1616
. . . . Offset: 0

tests/functiondef_decorated.py.uast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: FunctionDef {
13-
. . . Roles: FunctionDeclaration,FunctionDeclarationName
13+
. . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
1414
. . . TOKEN "someFunc"
1515
. . . StartPosition: {
1616
. . . . Offset: 0
@@ -76,7 +76,7 @@ Module {
7676
. . . }
7777
. . }
7878
. . 1: FunctionDef {
79-
. . . Roles: FunctionDeclaration,FunctionDeclarationName
79+
. . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
8080
. . . TOKEN "someFunc"
8181
. . . StartPosition: {
8282
. . . . Offset: 0

tests/functiondef_defaultparams.py.uast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: FunctionDef {
13-
. . . Roles: FunctionDeclaration,FunctionDeclarationName
13+
. . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
1414
. . . TOKEN "someFunc"
1515
. . . StartPosition: {
1616
. . . . Offset: 0

tests/functiondef_docstring.py.uast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: FunctionDef {
13-
. . . Roles: FunctionDeclaration,FunctionDeclarationName
13+
. . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
1414
. . . TOKEN "someFunc"
1515
. . . StartPosition: {
1616
. . . . Offset: 0

tests/functiondef_kwarg.py.uast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: FunctionDef {
13-
. . . Roles: FunctionDeclaration,FunctionDeclarationName
13+
. . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
1414
. . . TOKEN "someFunc"
1515
. . . StartPosition: {
1616
. . . . Offset: 0
@@ -94,7 +94,7 @@ Module {
9494
. . . }
9595
. . }
9696
. . 1: FunctionDef {
97-
. . . Roles: FunctionDeclaration,FunctionDeclarationName
97+
. . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
9898
. . . TOKEN "someVarMapFunc"
9999
. . . StartPosition: {
100100
. . . . Offset: 0

tests/functiondef_simple.py.uast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Module {
1010
. }
1111
. Children: {
1212
. . 0: FunctionDef {
13-
. . . Roles: FunctionDeclaration,FunctionDeclarationName
13+
. . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
1414
. . . TOKEN "someFunc"
1515
. . . StartPosition: {
1616
. . . . Offset: 0
@@ -118,7 +118,7 @@ Module {
118118
. . . }
119119
. . }
120120
. . 1: FunctionDef {
121-
. . . Roles: FunctionDeclaration,FunctionDeclarationName
121+
. . . Roles: FunctionDeclaration,FunctionDeclarationName,SimpleIdentifier
122122
. . . TOKEN "someGen"
123123
. . . StartPosition: {
124124
. . . . Offset: 0

0 commit comments

Comments
 (0)