1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
source: kcl-lib/src/parsing/parser.rs
expression: actual
---
{
"body": [
{
"commentStart": 0,
"declaration": {
"commentStart": 0,
"end": 87,
"id": {
"commentStart": 0,
"end": 7,
"moduleId": 0,
"name": "numbers",
"start": 0,
"type": "Identifier"
},
"init": {
"commentStart": 10,
"elements": [
{
"commentStart": 24,
"end": 25,
"moduleId": 0,
"raw": "1",
"start": 24,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
},
{
"commentStart": 39,
"end": 40,
"moduleId": 0,
"raw": "2",
"start": 39,
"type": "Literal",
"type": "Literal",
"value": {
"value": 2.0,
"suffix": "None"
}
}
],
"end": 87,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"2": [
{
"commentStart": 54,
"end": 59,
"moduleId": 0,
"start": 54,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "A,",
"style": "line"
}
}
],
"3": [
{
"commentStart": 72,
"end": 77,
"moduleId": 0,
"start": 72,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "B,",
"style": "line"
}
}
]
},
"startNodes": []
},
"start": 10,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 87,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
}
],
"commentStart": 0,
"end": 87,
"moduleId": 0,
"start": 0
}