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