@@ -188,6 +188,7 @@ library class Bytes_ extends @py_Bytes, Expr {
188
188
189
189
/** INTERNAL: See the class `BytesOrStr` for further information. */
190
190
library class BytesOrStr_ extends @py_Bytes_or_Str {
191
+ /** Gets a textual representation of this element. */
191
192
string toString ( ) { result = "BytesOrStr" }
192
193
}
193
194
@@ -233,6 +234,7 @@ library class Class_ extends @py_Class {
233
234
234
235
ClassExpr getParent ( ) { py_Classes ( this , result ) }
235
236
237
+ /** Gets a textual representation of this element. */
236
238
string toString ( ) { result = "Class" }
237
239
}
238
240
@@ -513,6 +515,7 @@ library class Function_ extends @py_Function {
513
515
514
516
FunctionParent getParent ( ) { py_Functions ( this , result ) }
515
517
518
+ /** Gets a textual representation of this element. */
516
519
string toString ( ) { result = "Function" }
517
520
}
518
521
@@ -535,6 +538,7 @@ library class FunctionExpr_ extends @py_FunctionExpr, Expr {
535
538
536
539
/** INTERNAL: See the class `FunctionParent` for further information. */
537
540
library class FunctionParent_ extends @py_Function_parent {
541
+ /** Gets a textual representation of this element. */
538
542
string toString ( ) { result = "FunctionParent" }
539
543
}
540
544
@@ -811,6 +815,7 @@ library class Module_ extends @py_Module {
811
815
/** Gets the kind of this module. */
812
816
string getKind ( ) { py_strs ( result , this , 3 ) }
813
817
818
+ /** Gets a textual representation of this element. */
814
819
string toString ( ) { result = "Module" }
815
820
}
816
821
@@ -1070,6 +1075,7 @@ library class StringPart_ extends @py_StringPart {
1070
1075
1071
1076
StringPartList getParent ( ) { py_StringParts ( this , result , _) }
1072
1077
1078
+ /** Gets a textual representation of this element. */
1073
1079
string toString ( ) { result = "StringPart" }
1074
1080
}
1075
1081
@@ -1083,6 +1089,7 @@ library class StringPartList_ extends @py_StringPart_list {
1083
1089
/** Gets the nth item of this implicitly concatenated part list */
1084
1090
StringPart getItem ( int index ) { py_StringParts ( result , this , index ) }
1085
1091
1092
+ /** Gets a textual representation of this element. */
1086
1093
string toString ( ) { result = "StringPartList" }
1087
1094
}
1088
1095
@@ -1283,6 +1290,7 @@ library class Alias_ extends @py_alias {
1283
1290
1284
1291
AliasList getParent ( ) { py_aliases ( this , result , _) }
1285
1292
1293
+ /** Gets a textual representation of this element. */
1286
1294
string toString ( ) { result = "Alias" }
1287
1295
}
1288
1296
@@ -1296,6 +1304,7 @@ library class AliasList_ extends @py_alias_list {
1296
1304
/** Gets the nth item of this alias list */
1297
1305
Alias getItem ( int index ) { py_aliases ( result , this , index ) }
1298
1306
1307
+ /** Gets a textual representation of this element. */
1299
1308
string toString ( ) { result = "AliasList" }
1300
1309
}
1301
1310
@@ -1345,35 +1354,41 @@ library class Arguments_ extends @py_arguments {
1345
1354
1346
1355
ArgumentsParent getParent ( ) { py_arguments ( this , result ) }
1347
1356
1357
+ /** Gets a textual representation of this element. */
1348
1358
string toString ( ) { result = "Arguments" }
1349
1359
}
1350
1360
1351
1361
/** INTERNAL: See the class `ArgumentsParent` for further information. */
1352
1362
library class ArgumentsParent_ extends @py_arguments_parent {
1363
+ /** Gets a textual representation of this element. */
1353
1364
string toString ( ) { result = "ArgumentsParent" }
1354
1365
}
1355
1366
1356
1367
/** INTERNAL: See the class `AstNode` for further information. */
1357
1368
library class AstNode_ extends @py_ast_node {
1369
+ /** Gets a textual representation of this element. */
1358
1370
string toString ( ) { result = "AstNode" }
1359
1371
}
1360
1372
1361
1373
/** INTERNAL: See the class `BoolParent` for further information. */
1362
1374
library class BoolParent_ extends @py_bool_parent {
1375
+ /** Gets a textual representation of this element. */
1363
1376
string toString ( ) { result = "BoolParent" }
1364
1377
}
1365
1378
1366
1379
/** INTERNAL: See the class `Boolop` for further information. */
1367
1380
library class Boolop_ extends @py_boolop {
1368
1381
BoolExpr getParent ( ) { py_boolops ( this , _, result ) }
1369
1382
1383
+ /** Gets a textual representation of this element. */
1370
1384
string toString ( ) { result = "Boolop" }
1371
1385
}
1372
1386
1373
1387
/** INTERNAL: See the class `Cmpop` for further information. */
1374
1388
library class Cmpop_ extends @py_cmpop {
1375
1389
CmpopList getParent ( ) { py_cmpops ( this , _, result , _) }
1376
1390
1391
+ /** Gets a textual representation of this element. */
1377
1392
string toString ( ) { result = "Cmpop" }
1378
1393
}
1379
1394
@@ -1387,6 +1402,7 @@ library class CmpopList_ extends @py_cmpop_list {
1387
1402
/** Gets the nth item of this comparison operator list */
1388
1403
Cmpop getItem ( int index ) { py_cmpops ( result , _, this , index ) }
1389
1404
1405
+ /** Gets a textual representation of this element. */
1390
1406
string toString ( ) { result = "CmpopList" }
1391
1407
}
1392
1408
@@ -1412,6 +1428,7 @@ library class Comprehension_ extends @py_comprehension {
1412
1428
1413
1429
ComprehensionList getParent ( ) { py_comprehensions ( this , result , _) }
1414
1430
1431
+ /** Gets a textual representation of this element. */
1415
1432
string toString ( ) { result = "Comprehension" }
1416
1433
}
1417
1434
@@ -1425,13 +1442,15 @@ library class ComprehensionList_ extends @py_comprehension_list {
1425
1442
/** Gets the nth item of this comprehension list */
1426
1443
Comprehension getItem ( int index ) { py_comprehensions ( result , this , index ) }
1427
1444
1445
+ /** Gets a textual representation of this element. */
1428
1446
string toString ( ) { result = "ComprehensionList" }
1429
1447
}
1430
1448
1431
1449
/** INTERNAL: See the class `DictItem` for further information. */
1432
1450
library class DictItem_ extends @py_dict_item {
1433
1451
DictItemList getParent ( ) { py_dict_items ( this , _, result , _) }
1434
1452
1453
+ /** Gets a textual representation of this element. */
1435
1454
string toString ( ) { result = "DictItem" }
1436
1455
}
1437
1456
@@ -1445,11 +1464,13 @@ library class DictItemList_ extends @py_dict_item_list {
1445
1464
/** Gets the nth item of this dict_item list */
1446
1465
DictItem getItem ( int index ) { py_dict_items ( result , _, this , index ) }
1447
1466
1467
+ /** Gets a textual representation of this element. */
1448
1468
string toString ( ) { result = "DictItemList" }
1449
1469
}
1450
1470
1451
1471
/** INTERNAL: See the class `DictItemListParent` for further information. */
1452
1472
library class DictItemListParent_ extends @py_dict_item_list_parent {
1473
+ /** Gets a textual representation of this element. */
1453
1474
string toString ( ) { result = "DictItemListParent" }
1454
1475
}
1455
1476
@@ -1463,18 +1484,21 @@ library class Expr_ extends @py_expr {
1463
1484
1464
1485
ExprParent getParent ( ) { py_exprs ( this , _, result , _) }
1465
1486
1487
+ /** Gets a textual representation of this element. */
1466
1488
string toString ( ) { result = "Expr" }
1467
1489
}
1468
1490
1469
1491
/** INTERNAL: See the class `ExprContext` for further information. */
1470
1492
library class ExprContext_ extends @py_expr_context {
1471
1493
ExprContextParent getParent ( ) { py_expr_contexts ( this , _, result ) }
1472
1494
1495
+ /** Gets a textual representation of this element. */
1473
1496
string toString ( ) { result = "ExprContext" }
1474
1497
}
1475
1498
1476
1499
/** INTERNAL: See the class `ExprContextParent` for further information. */
1477
1500
library class ExprContextParent_ extends @py_expr_context_parent {
1501
+ /** Gets a textual representation of this element. */
1478
1502
string toString ( ) { result = "ExprContextParent" }
1479
1503
}
1480
1504
@@ -1488,21 +1512,25 @@ library class ExprList_ extends @py_expr_list {
1488
1512
/** Gets the nth item of this expression list */
1489
1513
Expr getItem ( int index ) { py_exprs ( result , _, this , index ) }
1490
1514
1515
+ /** Gets a textual representation of this element. */
1491
1516
string toString ( ) { result = "ExprList" }
1492
1517
}
1493
1518
1494
1519
/** INTERNAL: See the class `ExprListParent` for further information. */
1495
1520
library class ExprListParent_ extends @py_expr_list_parent {
1521
+ /** Gets a textual representation of this element. */
1496
1522
string toString ( ) { result = "ExprListParent" }
1497
1523
}
1498
1524
1499
1525
/** INTERNAL: See the class `ExprOrStmt` for further information. */
1500
1526
library class ExprOrStmt_ extends @py_expr_or_stmt {
1527
+ /** Gets a textual representation of this element. */
1501
1528
string toString ( ) { result = "ExprOrStmt" }
1502
1529
}
1503
1530
1504
1531
/** INTERNAL: See the class `ExprParent` for further information. */
1505
1532
library class ExprParent_ extends @py_expr_parent {
1533
+ /** Gets a textual representation of this element. */
1506
1534
string toString ( ) { result = "ExprParent" }
1507
1535
}
1508
1536
@@ -1522,23 +1550,27 @@ library class Keyword_ extends @py_keyword, DictItem {
1522
1550
1523
1551
/** INTERNAL: See the class `LocationParent` for further information. */
1524
1552
library class LocationParent_ extends @py_location_parent {
1553
+ /** Gets a textual representation of this element. */
1525
1554
string toString ( ) { result = "LocationParent" }
1526
1555
}
1527
1556
1528
1557
/** INTERNAL: See the class `Operator` for further information. */
1529
1558
library class Operator_ extends @py_operator {
1530
1559
BinaryExpr getParent ( ) { py_operators ( this , _, result ) }
1531
1560
1561
+ /** Gets a textual representation of this element. */
1532
1562
string toString ( ) { result = "Operator" }
1533
1563
}
1534
1564
1535
1565
/** INTERNAL: See the class `Parameter` for further information. */
1536
1566
library class Parameter_ extends @py_parameter {
1567
+ /** Gets a textual representation of this element. */
1537
1568
string toString ( ) { result = "Parameter" }
1538
1569
}
1539
1570
1540
1571
/** INTERNAL: See the class `Scope` for further information. */
1541
1572
library class Scope_ extends @py_scope {
1573
+ /** Gets a textual representation of this element. */
1542
1574
string toString ( ) { result = "Scope" }
1543
1575
}
1544
1576
@@ -1549,6 +1581,7 @@ library class Stmt_ extends @py_stmt {
1549
1581
1550
1582
StmtList getParent ( ) { py_stmts ( this , _, result , _) }
1551
1583
1584
+ /** Gets a textual representation of this element. */
1552
1585
string toString ( ) { result = "Stmt" }
1553
1586
}
1554
1587
@@ -1562,11 +1595,13 @@ library class StmtList_ extends @py_stmt_list {
1562
1595
/** Gets the nth item of this statement list */
1563
1596
Stmt getItem ( int index ) { py_stmts ( result , _, this , index ) }
1564
1597
1598
+ /** Gets a textual representation of this element. */
1565
1599
string toString ( ) { result = "StmtList" }
1566
1600
}
1567
1601
1568
1602
/** INTERNAL: See the class `StmtListParent` for further information. */
1569
1603
library class StmtListParent_ extends @py_stmt_list_parent {
1604
+ /** Gets a textual representation of this element. */
1570
1605
string toString ( ) { result = "StmtListParent" }
1571
1606
}
1572
1607
@@ -1580,27 +1615,32 @@ library class StringList_ extends @py_str_list {
1580
1615
/** Gets the nth item of this string list */
1581
1616
string getItem ( int index ) { py_strs ( result , this , index ) }
1582
1617
1618
+ /** Gets a textual representation of this element. */
1583
1619
string toString ( ) { result = "StringList" }
1584
1620
}
1585
1621
1586
1622
/** INTERNAL: See the class `StrListParent` for further information. */
1587
1623
library class StrListParent_ extends @py_str_list_parent {
1624
+ /** Gets a textual representation of this element. */
1588
1625
string toString ( ) { result = "StrListParent" }
1589
1626
}
1590
1627
1591
1628
/** INTERNAL: See the class `StrParent` for further information. */
1592
1629
library class StrParent_ extends @py_str_parent {
1630
+ /** Gets a textual representation of this element. */
1593
1631
string toString ( ) { result = "StrParent" }
1594
1632
}
1595
1633
1596
1634
/** INTERNAL: See the class `Unaryop` for further information. */
1597
1635
library class Unaryop_ extends @py_unaryop {
1598
1636
UnaryExpr getParent ( ) { py_unaryops ( this , _, result ) }
1599
1637
1638
+ /** Gets a textual representation of this element. */
1600
1639
string toString ( ) { result = "Unaryop" }
1601
1640
}
1602
1641
1603
1642
/** INTERNAL: See the class `VariableParent` for further information. */
1604
1643
library class VariableParent_ extends @py_variable_parent {
1644
+ /** Gets a textual representation of this element. */
1605
1645
string toString ( ) { result = "VariableParent" }
1606
1646
}
0 commit comments