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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
---
source: kcl-lib/src/parsing/parser.rs
expression: actual
---
{
"body": [
{
"commentStart": 0,
"declaration": {
"commentStart": 4,
"end": 80,
"id": {
"commentStart": 4,
"end": 9,
"moduleId": 0,
"name": "props",
"start": 4,
"type": "Identifier"
},
"init": {
"commentStart": 12,
"end": 80,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"commentStart": 44,
"end": 52,
"moduleId": 0,
"start": 44,
"type": "NonCodeNode",
"value": {
"type": "blockComment",
"value": "b: 2,",
"style": "line"
}
}
]
},
"startNodes": []
},
"properties": [
{
"commentStart": 26,
"end": 30,
"key": {
"commentStart": 26,
"end": 27,
"moduleId": 0,
"name": "a",
"start": 26,
"type": "Identifier"
},
"moduleId": 0,
"start": 26,
"type": "ObjectProperty",
"value": {
"commentStart": 29,
"end": 30,
"moduleId": 0,
"raw": "1",
"start": 29,
"type": "Literal",
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
}
},
{
"commentStart": 65,
"end": 69,
"key": {
"commentStart": 65,
"end": 66,
"moduleId": 0,
"name": "c",
"start": 65,
"type": "Identifier"
},
"moduleId": 0,
"start": 65,
"type": "ObjectProperty",
"value": {
"commentStart": 68,
"end": 69,
"moduleId": 0,
"raw": "3",
"start": 68,
"type": "Literal",
"type": "Literal",
"value": {
"value": 3.0,
"suffix": "None"
}
}
}
],
"start": 12,
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 4,
"type": "VariableDeclarator"
},
"end": 80,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
}
],
"commentStart": 0,
"end": 80,
"moduleId": 0,
"start": 0
}