2015-10-05 16:40:43 +01:00

277 lines
6.4 KiB
JSON
Executable File

{
"type": "File",
"start": 0,
"end": 68,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 68
}
},
"program": {
"type": "Program",
"start": 0,
"end": 68,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 68
}
},
"sourceType": "script",
"body": [
{
"type": "FunctionDeclaration",
"start": 0,
"end": 68,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 68
}
},
"id": {
"type": "Identifier",
"start": 9,
"end": 10,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 10
}
},
"name": "f"
},
"generator": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 13,
"end": 68,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 68
}
},
"body": [
{
"type": "WhileStatement",
"start": 30,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 46
}
},
"test": {
"type": "BooleanLiteral",
"start": 37,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 37
},
"end": {
"line": 1,
"column": 41
}
},
"value": true,
"leadingComments": null
},
"body": {
"type": "BlockStatement",
"start": 43,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 43
},
"end": {
"line": 1,
"column": 46
}
},
"body": [],
"directives": [],
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " infinite ",
"start": 15,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 29
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " bar ",
"start": 47,
"end": 56,
"loc": {
"start": {
"line": 1,
"column": 47
},
"end": {
"line": 1,
"column": 56
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 57,
"end": 66,
"loc": {
"start": {
"line": 1,
"column": 57
},
"end": {
"line": 1,
"column": 66
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 61,
"end": 65,
"loc": {
"start": {
"line": 1,
"column": 61
},
"end": {
"line": 1,
"column": 65
}
},
"id": {
"type": "Identifier",
"start": 61,
"end": 65,
"loc": {
"start": {
"line": 1,
"column": 61
},
"end": {
"line": 1,
"column": 65
}
},
"name": "each",
"leadingComments": null
},
"init": null,
"leadingComments": null
}
],
"kind": "var",
"leadingComments": [
{
"type": "CommentBlock",
"value": " bar ",
"start": 47,
"end": 56,
"loc": {
"start": {
"line": 1,
"column": 47
},
"end": {
"line": 1,
"column": 56
}
}
}
]
}
],
"directives": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": " infinite ",
"start": 15,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": " bar ",
"start": 47,
"end": 56,
"loc": {
"start": {
"line": 1,
"column": 47
},
"end": {
"line": 1,
"column": 56
}
}
}
]
}