-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathast.json
97 lines (97 loc) · 2.5 KB
/
ast.json
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
{
"type": "Program",
"start": 0,
"end": 49,
"body": [
{
"type": "ExpressionStatement",
"start": 4,
"end": 48,
"expression": {
"type": "CallExpression",
"start": 4,
"end": 48,
"callee": {
"type": "MemberExpression",
"start": 4,
"end": 13,
"object": {
"type": "Identifier",
"start": 4,
"end": 9,
"name": "Array"
},
"property": {
"type": "Identifier",
"start": 10,
"end": 13,
"name": "map"
},
"computed": false,
"optional": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"body": {
"type": "BlockStatement",
"start": 13,
"end": 48,
"body": [
{
"type": "ReturnStatement",
"start": 22,
"end": 43,
"argument": {
"type": "CallExpression",
"start": 29,
"end": 43,
"callee": {
"type": "MemberExpression",
"start": 29,
"end": 40,
"object": {
"type": "Identifier",
"start": 29,
"end": 36,
"name": "console"
},
"property": {
"type": "Identifier",
"start": 37,
"end": 40,
"name": "log"
},
"computed": false,
"optional": false
},
"arguments": [
{
"type": "Literal",
"start": 41,
"end": 42,
"value": 3,
"raw": "3"
}
],
"optional": false
}
}
]
},
"params": [
{
"type": "RestElement",
"argument": {
"type": "Identifier",
"name": "args"
}
}
]
}
]
}
}
],
"sourceType": "script"
}