{ "type": "Program", "statements": [ { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "foo", "loc": { "start": { "line": 17, "column": 10 }, "end": { "line": 17, "column": 13 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 18 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 18 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 18 } } }, { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "as", "loc": { "start": { "line": 18, "column": 10 }, "end": { "line": 18, "column": 12 } } }, "generator": false, "async": false, "expression": false, "params": [ { "type": "Identifier", "name": "obj", "loc": { "start": { "line": 18, "column": 13 }, "end": { "line": 18, "column": 16 } } } ], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 18, "column": 18 }, "end": { "line": 18, "column": 20 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 20 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 20 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "B", "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 6 } } }, "init": { "type": "Identifier", "name": "foo", "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 12 } } }, "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 12 } } } ], "kind": "var", "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 20, "column": 13 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "x", "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 6 } } }, "init": { "type": "Identifier", "name": "foo", "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 12 } } }, "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 12 } } } ], "kind": "var", "loc": { "start": { "line": 21, "column": 1 }, "end": { "line": 21, "column": 12 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "as", "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 3 } } }, "arguments": [ { "type": "Identifier", "name": "B", "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 5 } } } ], "optional": false, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 6 } } }, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 6 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 23, "column": 1 } } }