UNPKG

awv3

Version:
202 lines 4.85 kB
{ "type": "Program", "start": 0, "end": 61, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 4, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ExportNamedDeclaration", "start": 0, "end": 60, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "declaration": { "type": "FunctionDeclaration", "start": 7, "end": 60, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 3, "column": 1 } }, "id": { "type": "Identifier", "start": 16, "end": 19, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 19 } }, "name": "log" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20, "end": 27, "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 27 } }, "name": "message" } ], "body": { "type": "BlockStatement", "start": 29, "end": 60, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 3, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 35, "end": 58, "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 27 } }, "expression": { "type": "CallExpression", "start": 35, "end": 57, "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 35, "end": 48, "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 17 } }, "object": { "type": "Identifier", "start": 35, "end": 42, "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 11 } }, "name": "console" }, "property": { "type": "Identifier", "start": 43, "end": 48, "loc": { "start": { "line": 2, "column": 12 }, "end": { "line": 2, "column": 17 } }, "name": "error" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 49, "end": 56, "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 25 } }, "name": "message" } ] } } ] }, "leadingComments": [], "trailingComments": [] }, "specifiers": [], "source": null } ] }