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

Commit af440be

Browse files
author
Juanjo Alvarez
committed
astexport split, part two
Bugfixing Integration tests
1 parent 92aec1d commit af440be

36 files changed

+4423
-85
lines changed

Dockerfile.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MAINTAINER source{d}
33

44
ARG DEVDEPS=native/dev_deps
55
ARG CONTAINER_DEVDEPS=/tmp/dev_deps
6-
ARG PYDETECTOR_VER=0.13.0
6+
ARG PYDETECTOR_VER=0.14.0
77

88
RUN apk add --no-cache --update python python3 py-pip py2-pip git
99

driver/normalizer/parser.go

Lines changed: 46 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -23,56 +23,52 @@ var ToNoder = &native.ObjectToNoder{
2323
"noop_line": true, // Comment/Noop (non significative whitespace)
2424
},
2525
SyntheticTokens: map[string]string{
26-
"Add": "+",
27-
"Assert": "assert",
28-
"AugAssign": "?=",
29-
"BitAnd": "&",
30-
"BitOr": "|",
31-
"BitXor": "^",
32-
"Break": "break",
33-
"ClassDef": "class",
34-
"Continue": "continue",
35-
"Delete": "del",
36-
"Div": "/",
37-
"Ellipsis": "...",
38-
"ExceptHandler": "except",
39-
"Eq": "==",
40-
"False": "False",
41-
"For": "for",
42-
"FloorDiv": "//",
43-
"Global": "global",
44-
"Gt": ">",
45-
"GtE": ">=",
46-
"If": "if",
47-
"In": "in",
48-
"Invert": "~",
49-
"Is": "is",
50-
"IsNot": "not is",
51-
"Lambda": "lambda",
52-
"LShift": "<<",
53-
"Lt": "<",
54-
"LtE": "<=",
55-
"Mod": "%%",
56-
"Mult": "*",
57-
"None": "None",
58-
"Nonlocal": "nonlocal",
59-
"Not": "!",
60-
"NotEq": "!=",
61-
"NotIn": "not in",
62-
"Pass": "pass",
63-
"Pow": "**",
64-
"Print": "print",
65-
"Raise": "raise",
66-
"Return": "return",
67-
"RShift": ">>",
68-
"Sub": "-",
69-
"True": "true",
70-
"Try": "try",
71-
"UAdd": "+",
72-
"USub": "-",
73-
"While": "while",
74-
"With": "with",
75-
"Yield": "yield",
26+
"Add": "+",
27+
"Assert": "assert",
28+
"AugAssign": "?=",
29+
"BitAnd": "&",
30+
"BitOr": "|",
31+
"BitXor": "^",
32+
"Break": "break",
33+
"Continue": "continue",
34+
"Delete": "delete",
35+
"Div": "/",
36+
"Ellipsis": "...",
37+
"Eq": "==",
38+
"False": "false",
39+
"For": "for",
40+
"FloorDiv": "//",
41+
"Global": "global",
42+
"Gt": ">",
43+
"GtE": ">=",
44+
"If": "if",
45+
"In": "in",
46+
"Invert": "~",
47+
"Is": "is",
48+
"IsNot": "not is",
49+
"LShift": "<<",
50+
"Lt": "<",
51+
"LtE": "<=",
52+
"Mod": "%%",
53+
"Mult": "*",
54+
"None": "None",
55+
"Nonlocal": "nonlocal",
56+
"Not": "!",
57+
"NotEq": "!=",
58+
"NotIn": "not in",
59+
"Pass": "pass",
60+
"Pow": "**",
61+
"Print": "print",
62+
"Raise": "raise",
63+
"Return": "return",
64+
"RShift": ">>",
65+
"Sub": "-",
66+
"True": "true",
67+
"UAdd": "+",
68+
"USub": "-",
69+
"While": "while",
70+
"With": "with",
71+
"Yield": "yield",
7672
},
7773
PromoteAllPropertyLists: false,
7874
PromotedPropertyLists: map[string]map[string]bool{

0 commit comments

Comments
 (0)