@@ -13,8 +13,7 @@ var ToNoder = &native.ObjectToNoder{
1313 EndColumnKey : "end_col_offset" ,
1414
1515 TokenKeys : map [string ]bool {
16- "module" : true , // Module on ImportFrom
17- "name" : true ,
16+ "name" : true ,
1817 //"asname": true, // Alias from ImportFrom
1918 "id" : true , // Name nodes
2019 "attr" : true , // something.attr
@@ -63,13 +62,13 @@ var ToNoder = &native.ObjectToNoder{
6362 "Compare" : {"comparators" : true , "ops" : true },
6463 // FIXME: check call.keywords
6564 //"Call" : { "args": true, "keywords": true},
66- "With" : {"body" : true , "items" : true },
67- "FunctionDef" : {"body" : true , "decorator_list" : true },
68- "Lambda" : {"body" : true },
69- "arguments" : {"defaults" : true },
70- "Try" : {"body" : true , "orelse" : true , "finalbody" : true , "handlers" : true },
71- "Raise" : {"args" : true },
72- "ClassDef" : {"body" : true , "bases" : true , "decorator_list" : true , "keywords" : true },
65+ "With" : {"body" : true , "items" : true },
66+ "FunctionDef" : {"body" : true , "decorator_list" : true },
67+ "Lambda" : {"body" : true },
68+ "arguments" : {"defaults" : true },
69+ "Try" : {"body" : true , "orelse" : true , "finalbody" : true , "handlers" : true },
70+ "Raise" : {"args" : true },
71+ "ClassDef" : {"body" : true , "bases" : true , "decorator_list" : true , "keywords" : true },
7372 },
7473 PromotedPropertyStrings : map [string ]map [string ]bool {
7574 "alias" : {"asname" : true },
0 commit comments