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
122
---
source: kcl-lib/src/parsing/parser.rs
expression: actual
---
{
"body": [
{
"commentStart": 0,
"end": 46,
"expression": {
"arguments": [
{
"type": "LabeledArg",
"label": {
"commentStart": 4,
"end": 10,
"moduleId": 0,
"name": "number",
"start": 4,
"type": "Identifier"
},
"arg": {
"commentStart": 13,
"end": 14,
"moduleId": 0,
"raw": "5",
"start": 13,
"type": "Literal",
"type": "Literal",
"value": {
"value": 5.0,
"suffix": "None"
}
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 16,
"end": 19,
"moduleId": 0,
"name": "msg",
"start": 16,
"type": "Identifier"
},
"arg": {
"commentStart": 22,
"end": 29,
"moduleId": 0,
"raw": "\"hello\"",
"start": 22,
"type": "Literal",
"type": "Literal",
"value": "hello"
}
},
{
"type": "LabeledArg",
"label": {
"commentStart": 31,
"end": 33,
"moduleId": 0,
"name": "id",
"start": 31,
"type": "Identifier"
},
"arg": {
"abs_path": false,
"commentStart": 34,
"end": 45,
"moduleId": 0,
"name": {
"commentStart": 34,
"end": 45,
"moduleId": 0,
"name": "aIdentifier",
"start": 34,
"type": "Identifier"
},
"path": [],
"start": 34,
"type": "Name",
"type": "Name"
}
}
],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "log",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Name"
},
"commentStart": 0,
"end": 46,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
}
],
"commentStart": 0,
"end": 46,
"moduleId": 0,
"start": 0
}