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

Commit 0af4290

Browse files
author
Juanjo Alvarez
committed
Changes for the latest SDK
Signed-off-by: Juanjo Alvarez <[email protected]> Remove some commented code, add some comments
1 parent 8db3e74 commit 0af4290

File tree

58 files changed

+10392
-6854
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+10392
-6854
lines changed

driver/normalizer/normalizer.go

Lines changed: 104 additions & 198 deletions
Large diffs are not rendered by default.

fixtures/annotations.py.sem.uast

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@
135135
{
136136
async: false,
137137
},
138+
{
139+
decorators: [],
140+
},
138141
{ '@type': "uast:Alias",
139142
Name: { '@type': "uast:Identifier",
140143
Name: "somefunc",
@@ -191,7 +194,6 @@
191194
col: 15,
192195
},
193196
},
194-
Init: ~,
195197
MapVariadic: false,
196198
Name: { '@type': "uast:Identifier",
197199
'@pos': { '@type': "uast:Positions",
@@ -225,7 +227,6 @@
225227
col: 23,
226228
},
227229
},
228-
Init: ~,
229230
MapVariadic: false,
230231
Name: { '@type': "uast:Identifier",
231232
'@pos': { '@type': "uast:Positions",
@@ -247,7 +248,30 @@
247248
Variadic: false,
248249
},
249250
],
250-
Returns: ~,
251+
Returns: [
252+
{ '@type': "uast:Argument",
253+
Init: ~,
254+
MapVariadic: false,
255+
Name: ~,
256+
Receiver: false,
257+
Type: { '@type': "uast:Identifier",
258+
'@pos': { '@type': "uast:Positions",
259+
start: { '@type': "uast:Position",
260+
offset: 52,
261+
line: 3,
262+
col: 33,
263+
},
264+
end: { '@type': "uast:Position",
265+
offset: 57,
266+
line: 3,
267+
col: 38,
268+
},
269+
},
270+
Name: "float",
271+
},
272+
Variadic: false,
273+
},
274+
],
251275
},
252276
},
253277
},

fixtures/bench_accumulator_factory.py.sem.uast

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
{
2121
async: false,
2222
},
23+
{
24+
decorators: [],
25+
},
2326
{ '@type': "uast:Alias",
2427
Name: { '@type': "uast:Identifier",
2528
Name: "accumulator",
@@ -44,6 +47,9 @@
4447
{
4548
async: false,
4649
},
50+
{
51+
decorators: [],
52+
},
4753
{ '@type': "uast:Alias",
4854
Name: { '@type': "uast:Identifier",
4955
Name: "f",
@@ -198,7 +204,6 @@
198204
col: 10,
199205
},
200206
},
201-
Init: ~,
202207
MapVariadic: false,
203208
Name: { '@type': "uast:Identifier",
204209
'@pos': { '@type': "uast:Positions",
@@ -278,7 +283,6 @@
278283
col: 20,
279284
},
280285
},
281-
Init: ~,
282286
MapVariadic: false,
283287
Name: { '@type': "uast:Identifier",
284288
'@pos': { '@type': "uast:Positions",

fixtures/bench_binary_search.py.sem.uast

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
{
2121
async: false,
2222
},
23+
{
24+
decorators: [],
25+
},
2326
{ '@type': "uast:Alias",
2427
Name: { '@type': "uast:Identifier",
2528
Name: "binary_search",
@@ -906,7 +909,6 @@
906909
col: 20,
907910
},
908911
},
909-
Init: ~,
910912
MapVariadic: false,
911913
Name: { '@type': "uast:Identifier",
912914
'@pos': { '@type': "uast:Positions",
@@ -940,7 +942,6 @@
940942
col: 27,
941943
},
942944
},
943-
Init: ~,
944945
MapVariadic: false,
945946
Name: { '@type': "uast:Identifier",
946947
'@pos': { '@type': "uast:Positions",

0 commit comments

Comments
 (0)