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

Commit d24551d

Browse files
author
Juanjo Alvarez
committed
Remove now unneeded parser.go entry for None
1 parent c8d83a6 commit d24551d

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

driver/normalizer/tonode.go

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ var ToNode = &uast.ObjectToNode{
3737
"Div": "/",
3838
"Ellipsis": "...",
3939
"Eq": "==",
40-
"False": "false",
4140
"For": "for",
4241
"FloorDiv": "//",
4342
"Global": "global",
@@ -53,7 +52,6 @@ var ToNode = &uast.ObjectToNode{
5352
"LtE": "<=",
5453
"Mod": "%%",
5554
"Mult": "*",
56-
"None": "None",
5755
"Nonlocal": "nonlocal",
5856
"Not": "!",
5957
"NotEq": "!=",
@@ -65,56 +63,11 @@ var ToNode = &uast.ObjectToNode{
6563
"Return": "return",
6664
"RShift": ">>",
6765
"Sub": "-",
68-
"True": "true",
6966
"UAdd": "+",
7067
"USub": "-",
7168
"While": "while",
7269
"With": "with",
7370
"Yield": "yield",
74-
"Add": "+",
75-
"Assert": "assert",
76-
"AugAssign": "?=",
77-
"BitAnd": "&",
78-
"BitOr": "|",
79-
"BitXor": "^",
80-
"Break": "break",
81-
"Continue": "continue",
82-
"Delete": "delete",
83-
"Div": "/",
84-
"Ellipsis": "...",
85-
"Eq": "==",
86-
"For": "for",
87-
"FloorDiv": "//",
88-
"Global": "global",
89-
"Gt": ">",
90-
"GtE": ">=",
91-
"If": "if",
92-
"In": "in",
93-
"Invert": "~",
94-
"Is": "is",
95-
"IsNot": "not is",
96-
"LShift": "<<",
97-
"Lt": "<",
98-
"LtE": "<=",
99-
"Mod": "%%",
100-
"Mult": "*",
101-
"NoneLiteral": "None",
102-
"Nonlocal": "nonlocal",
103-
"Not": "!",
104-
"NotEq": "!=",
105-
"NotIn": "not in",
106-
"Pass": "pass",
107-
"Pow": "**",
108-
"Print": "print",
109-
"Raise": "raise",
110-
"Return": "return",
111-
"RShift": ">>",
112-
"Sub": "-",
113-
"UAdd": "+",
114-
"USub": "-",
115-
"While": "while",
116-
"With": "with",
117-
"Yield": "yield",
11871
},
11972
PromoteAllPropertyLists: false,
12073
PromotedPropertyLists: map[string]map[string]bool{

0 commit comments

Comments
 (0)