34
34
Node: { '@type': "uast:Function",
35
35
Body: { '@type': "uast:Block",
36
36
Statements: [
37
- { '@type': "bash:Comment",
38
- '@token': " Calculate $1 % $2 until $2 becomes zero.",
39
- '@role': [Comment, Noop],
37
+ { '@type': "uast:Comment",
40
38
'@pos': { '@type': "uast:Positions",
41
39
start: { '@type': "uast:Position",
42
40
offset: 9,
49
47
col: 44,
50
48
},
51
49
},
52
- children: [],
50
+ Block: false,
51
+ Prefix: " ",
52
+ Suffix: "",
53
+ Tab: "",
54
+ Text: "Calculate $1 % $2 until $2 becomes zero.",
53
55
},
54
56
{ '@type': "bash:until_loop",
55
57
'@role': [Incomplete, Statement, While],
229
231
},
230
232
},
231
233
children: [
232
- { '@type': "bash:Comment",
233
- '@token': " Parallel assignment: set -- 1 2",
234
- '@role': [Comment, Noop],
234
+ { '@type': "uast:Comment",
235
235
'@pos': { '@type': "uast:Positions",
236
236
start: { '@type': "uast:Position",
237
237
offset: 81,
244
244
col: 36,
245
245
},
246
246
},
247
- children: [],
247
+ Block: false,
248
+ Prefix: " ",
249
+ Suffix: "",
250
+ Tab: "",
251
+ Text: "Parallel assignment: set -- 1 2",
248
252
},
249
253
{ '@type': "bash:simple-command",
250
254
'@role': [Expression],
380
384
},
381
385
],
382
386
},
383
- { '@type': "bash:Comment",
384
- '@token': " Echo absolute value of $1.",
385
- '@role': [Comment, Noop],
387
+ { '@type': "uast:Comment",
386
388
'@pos': { '@type': "uast:Positions",
387
389
start: { '@type': "uast:Position",
388
390
offset: 159,
395
397
col: 30,
396
398
},
397
399
},
398
- children: [],
400
+ Block: false,
401
+ Prefix: " ",
402
+ Suffix: "",
403
+ Tab: "",
404
+ Text: "Echo absolute value of $1.",
399
405
},
400
406
{ '@type': "bash:simple-command",
401
407
'@role': [Expression],
900
906
},
901
907
],
902
908
},
903
- { '@type': "bash:Comment",
904
- '@token': " => 987",
905
- '@role': [Comment, Noop],
909
+ { '@type': "uast:Comment",
906
910
'@pos': { '@type': "uast:Positions",
907
911
start: { '@type': "uast:Position",
908
912
offset: 265,
915
919
col: 9,
916
920
},
917
921
},
918
- children: [],
922
+ Block: false,
923
+ Prefix: " ",
924
+ Suffix: "",
925
+ Tab: "",
926
+ Text: "=> 987",
919
927
},
920
928
],
921
929
}
0 commit comments