• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "VariableDeclaration",
6      "declarations": [
7        {
8          "type": "VariableDeclarator",
9          "id": {
10            "type": "Identifier",
11            "name": "async",
12            "decorators": [],
13            "loc": {
14              "start": {
15                "line": 17,
16                "column": 5,
17                "program": "test-async-function-1.js"
18              },
19              "end": {
20                "line": 17,
21                "column": 10,
22                "program": "test-async-function-1.js"
23              }
24            }
25          },
26          "init": {
27            "type": "FunctionExpression",
28            "function": {
29              "type": "ScriptFunction",
30              "id": {
31                "type": "Identifier",
32                "name": "async",
33                "decorators": [],
34                "loc": {
35                  "start": {
36                    "line": 17,
37                    "column": 28,
38                    "program": "test-async-function-1.js"
39                  },
40                  "end": {
41                    "line": 17,
42                    "column": 33,
43                    "program": "test-async-function-1.js"
44                  }
45                }
46              },
47              "generator": false,
48              "async": true,
49              "expression": false,
50              "params": [],
51              "body": {
52                "type": "BlockStatement",
53                "statements": [],
54                "loc": {
55                  "start": {
56                    "line": 17,
57                    "column": 36,
58                    "program": "test-async-function-1.js"
59                  },
60                  "end": {
61                    "line": 17,
62                    "column": 39,
63                    "program": "test-async-function-1.js"
64                  }
65                }
66              },
67              "loc": {
68                "start": {
69                  "line": 17,
70                  "column": 19,
71                  "program": "test-async-function-1.js"
72                },
73                "end": {
74                  "line": 17,
75                  "column": 39,
76                  "program": "test-async-function-1.js"
77                }
78              }
79            },
80            "loc": {
81              "start": {
82                "line": 17,
83                "column": 13,
84                "program": "test-async-function-1.js"
85              },
86              "end": {
87                "line": 17,
88                "column": 39,
89                "program": "test-async-function-1.js"
90              }
91            }
92          },
93          "loc": {
94            "start": {
95              "line": 17,
96              "column": 5,
97              "program": "test-async-function-1.js"
98            },
99            "end": {
100              "line": 17,
101              "column": 39,
102              "program": "test-async-function-1.js"
103            }
104          }
105        }
106      ],
107      "kind": "var",
108      "loc": {
109        "start": {
110          "line": 17,
111          "column": 1,
112          "program": "test-async-function-1.js"
113        },
114        "end": {
115          "line": 17,
116          "column": 39,
117          "program": "test-async-function-1.js"
118        }
119      }
120    }
121  ],
122  "loc": {
123    "start": {
124      "line": 1,
125      "column": 1,
126      "program": "test-async-function-1.js"
127    },
128    "end": {
129      "line": 18,
130      "column": 1,
131      "program": "test-async-function-1.js"
132    }
133  }
134}
135