123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- {
- "type": "CallExpression",
- "callee": {
- "type": "FunctionExpression",
- "id": null,
- "params": [],
- "body": {
- "type": "BlockStatement",
- "body": [
- {
- "type": "FunctionDeclaration",
- "id": {
- "type": "Identifier",
- "name": "PowerAssertRecorder"
- },
- "params": [],
- "body": {
- "type": "BlockStatement",
- "body": [
- {
- "type": "ExpressionStatement",
- "expression": {
- "type": "AssignmentExpression",
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "object": {
- "type": "ThisExpression"
- },
- "property": {
- "type": "Identifier",
- "name": "captured"
- },
- "computed": false
- },
- "right": {
- "type": "ArrayExpression",
- "elements": []
- }
- }
- }
- ]
- },
- "generator": false
- },
- {
- "type": "ExpressionStatement",
- "expression": {
- "type": "AssignmentExpression",
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "object": {
- "type": "MemberExpression",
- "object": {
- "type": "Identifier",
- "name": "PowerAssertRecorder"
- },
- "property": {
- "type": "Identifier",
- "name": "prototype"
- },
- "computed": false
- },
- "property": {
- "type": "Identifier",
- "name": "_capt"
- },
- "computed": false
- },
- "right": {
- "type": "FunctionExpression",
- "id": {
- "type": "Identifier",
- "name": "_capt"
- },
- "params": [
- {
- "type": "Identifier",
- "name": "value"
- },
- {
- "type": "Identifier",
- "name": "espath"
- }
- ],
- "body": {
- "type": "BlockStatement",
- "body": [
- {
- "type": "ExpressionStatement",
- "expression": {
- "type": "CallExpression",
- "callee": {
- "type": "MemberExpression",
- "object": {
- "type": "MemberExpression",
- "object": {
- "type": "ThisExpression"
- },
- "property": {
- "type": "Identifier",
- "name": "captured"
- },
- "computed": false
- },
- "property": {
- "type": "Identifier",
- "name": "push"
- },
- "computed": false
- },
- "arguments": [
- {
- "type": "ObjectExpression",
- "properties": [
- {
- "type": "Property",
- "key": {
- "type": "Identifier",
- "name": "value"
- },
- "value": {
- "type": "Identifier",
- "name": "value"
- },
- "kind": "init",
- "method": false,
- "shorthand": false,
- "computed": false
- },
- {
- "type": "Property",
- "key": {
- "type": "Identifier",
- "name": "espath"
- },
- "value": {
- "type": "Identifier",
- "name": "espath"
- },
- "kind": "init",
- "method": false,
- "shorthand": false,
- "computed": false
- }
- ]
- }
- ]
- }
- },
- {
- "type": "ReturnStatement",
- "argument": {
- "type": "Identifier",
- "name": "value"
- }
- }
- ]
- },
- "generator": false
- }
- }
- },
- {
- "type": "ExpressionStatement",
- "expression": {
- "type": "AssignmentExpression",
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "object": {
- "type": "MemberExpression",
- "object": {
- "type": "Identifier",
- "name": "PowerAssertRecorder"
- },
- "property": {
- "type": "Identifier",
- "name": "prototype"
- },
- "computed": false
- },
- "property": {
- "type": "Identifier",
- "name": "_expr"
- },
- "computed": false
- },
- "right": {
- "type": "FunctionExpression",
- "id": {
- "type": "Identifier",
- "name": "_expr"
- },
- "params": [
- {
- "type": "Identifier",
- "name": "value"
- },
- {
- "type": "Identifier",
- "name": "source"
- }
- ],
- "body": {
- "type": "BlockStatement",
- "body": [
- {
- "type": "VariableDeclaration",
- "declarations": [
- {
- "type": "VariableDeclarator",
- "id": {
- "type": "Identifier",
- "name": "capturedValues"
- },
- "init": {
- "type": "MemberExpression",
- "object": {
- "type": "ThisExpression"
- },
- "property": {
- "type": "Identifier",
- "name": "captured"
- },
- "computed": false
- }
- }
- ],
- "kind": "var"
- },
- {
- "type": "ExpressionStatement",
- "expression": {
- "type": "AssignmentExpression",
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "object": {
- "type": "ThisExpression"
- },
- "property": {
- "type": "Identifier",
- "name": "captured"
- },
- "computed": false
- },
- "right": {
- "type": "ArrayExpression",
- "elements": []
- }
- }
- },
- {
- "type": "ReturnStatement",
- "argument": {
- "type": "ObjectExpression",
- "properties": [
- {
- "type": "Property",
- "key": {
- "type": "Identifier",
- "name": "powerAssertContext"
- },
- "value": {
- "type": "ObjectExpression",
- "properties": [
- {
- "type": "Property",
- "key": {
- "type": "Identifier",
- "name": "value"
- },
- "value": {
- "type": "Identifier",
- "name": "value"
- },
- "kind": "init",
- "method": false,
- "shorthand": false,
- "computed": false
- },
- {
- "type": "Property",
- "key": {
- "type": "Identifier",
- "name": "events"
- },
- "value": {
- "type": "Identifier",
- "name": "capturedValues"
- },
- "kind": "init",
- "method": false,
- "shorthand": false,
- "computed": false
- }
- ]
- },
- "kind": "init",
- "method": false,
- "shorthand": false,
- "computed": false
- },
- {
- "type": "Property",
- "key": {
- "type": "Identifier",
- "name": "source"
- },
- "value": {
- "type": "Identifier",
- "name": "source"
- },
- "kind": "init",
- "method": false,
- "shorthand": false,
- "computed": false
- }
- ]
- }
- }
- ]
- },
- "generator": false
- }
- }
- },
- {
- "type": "ReturnStatement",
- "argument": {
- "type": "Identifier",
- "name": "PowerAssertRecorder"
- }
- }
- ]
- },
- "generator": false
- },
- "arguments": []
- }
|