278 lines
7.0 KiB
JSON
278 lines
7.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 64,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 64
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 64,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 64
|
|
}
|
|
},
|
|
"sourceType": "script",
|
|
"body": [
|
|
{
|
|
"type": "ForInStatement",
|
|
"start": 0,
|
|
"end": 64,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 64
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "VariableDeclaration",
|
|
"start": 5,
|
|
"end": 43,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 43
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 9,
|
|
"end": 43,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 43
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 9,
|
|
"end": 10,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 10
|
|
}
|
|
},
|
|
"name": "i"
|
|
},
|
|
"init": {
|
|
"type": "FunctionExpression",
|
|
"start": 13,
|
|
"end": 43,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 43
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 24,
|
|
"end": 43,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 43
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start": 26,
|
|
"end": 41,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 41
|
|
}
|
|
},
|
|
"argument": {
|
|
"type": "BinaryExpression",
|
|
"start": 33,
|
|
"end": 41,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 41
|
|
}
|
|
},
|
|
"left": {
|
|
"type": "Literal",
|
|
"start": 33,
|
|
"end": 35,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 35
|
|
}
|
|
},
|
|
"value": 10,
|
|
"rawValue": 10,
|
|
"raw": "10"
|
|
},
|
|
"operator": "in",
|
|
"right": {
|
|
"type": "ArrayExpression",
|
|
"start": 39,
|
|
"end": 41,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 41
|
|
}
|
|
},
|
|
"elements": []
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "var"
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start": 47,
|
|
"end": 51,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 51
|
|
}
|
|
},
|
|
"name": "list"
|
|
},
|
|
"body": {
|
|
"type": "ExpressionStatement",
|
|
"start": 53,
|
|
"end": 64,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 53
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 64
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 53,
|
|
"end": 63,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 53
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 63
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start": 53,
|
|
"end": 60,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 53
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 60
|
|
}
|
|
},
|
|
"name": "process"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 61,
|
|
"end": 62,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 61
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 62
|
|
}
|
|
},
|
|
"name": "x"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |