Created
June 17, 2018 00:31
-
-
Save zone117x/f779ac7952152c96b8e1a26c472f54ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": 75, | |
| "nodeType": "Block", | |
| "src": "778:246:0", | |
| "statements": [ | |
| { | |
| "condition": { | |
| "argumentTypes": null, | |
| "id": 48, | |
| "name": "_isSomething", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 45, | |
| "src": "793:12:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| } | |
| }, | |
| "falseBody": { | |
| "id": 58, | |
| "nodeType": "Block", | |
| "src": "867:35:0", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "argumentTypes": null, | |
| "id": 56, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": false, | |
| "lValueRequested": false, | |
| "leftHandSide": { | |
| "argumentTypes": null, | |
| "id": 54, | |
| "name": "last", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 21, | |
| "src": "882:4:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "nodeType": "Assignment", | |
| "operator": "=", | |
| "rightHandSide": { | |
| "argumentTypes": null, | |
| "hexValue": "34", | |
| "id": 55, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": true, | |
| "kind": "number", | |
| "lValueRequested": false, | |
| "nodeType": "Literal", | |
| "src": "889:1:0", | |
| "subdenomination": null, | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_rational_4_by_1", | |
| "typeString": "int_const 4" | |
| }, | |
| "value": "4" | |
| }, | |
| "src": "882:8:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "id": 57, | |
| "nodeType": "ExpressionStatement", | |
| "src": "882:8:0" | |
| } | |
| ] | |
| }, | |
| "id": 59, | |
| "nodeType": "IfStatement", | |
| "src": "789:113:0", | |
| "trueBody": { | |
| "id": 53, | |
| "nodeType": "Block", | |
| "src": "807:35:0", | |
| "statements": [ | |
| { | |
| "expression": { | |
| "argumentTypes": null, | |
| "id": 51, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": false, | |
| "lValueRequested": false, | |
| "leftHandSide": { | |
| "argumentTypes": null, | |
| "id": 49, | |
| "name": "last", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 21, | |
| "src": "822:4:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "nodeType": "Assignment", | |
| "operator": "=", | |
| "rightHandSide": { | |
| "argumentTypes": null, | |
| "hexValue": "33", | |
| "id": 50, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": true, | |
| "kind": "number", | |
| "lValueRequested": false, | |
| "nodeType": "Literal", | |
| "src": "829:1:0", | |
| "subdenomination": null, | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_rational_3_by_1", | |
| "typeString": "int_const 3" | |
| }, | |
| "value": "3" | |
| }, | |
| "src": "822:8:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "id": 52, | |
| "nodeType": "ExpressionStatement", | |
| "src": "822:8:0" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "expression": { | |
| "argumentTypes": null, | |
| "arguments": [ | |
| { | |
| "argumentTypes": null, | |
| "id": 61, | |
| "name": "enabledThing", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 19, | |
| "src": "929:12:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| } | |
| } | |
| ], | |
| "expression": { | |
| "argumentTypes": [ | |
| { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| } | |
| ], | |
| "id": 60, | |
| "name": "assert", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 360, | |
| "src": "922:6:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", | |
| "typeString": "function (bool) pure" | |
| } | |
| }, | |
| "id": 62, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": false, | |
| "kind": "functionCall", | |
| "lValueRequested": false, | |
| "names": [], | |
| "nodeType": "FunctionCall", | |
| "src": "922:20:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_tuple$__$", | |
| "typeString": "tuple()" | |
| } | |
| }, | |
| "id": 63, | |
| "nodeType": "ExpressionStatement", | |
| "src": "922:20:0" | |
| }, | |
| { | |
| "expression": { | |
| "argumentTypes": null, | |
| "arguments": [ | |
| { | |
| "argumentTypes": null, | |
| "id": 65, | |
| "name": "enabledThing", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 19, | |
| "src": "963:12:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| } | |
| } | |
| ], | |
| "expression": { | |
| "argumentTypes": [ | |
| { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| } | |
| ], | |
| "id": 64, | |
| "name": "require", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [ | |
| 374, | |
| 375 | |
| ], | |
| "referencedDeclaration": 374, | |
| "src": "955:7:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", | |
| "typeString": "function (bool) pure" | |
| } | |
| }, | |
| "id": 66, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": false, | |
| "kind": "functionCall", | |
| "lValueRequested": false, | |
| "names": [], | |
| "nodeType": "FunctionCall", | |
| "src": "955:21:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_tuple$__$", | |
| "typeString": "tuple()" | |
| } | |
| }, | |
| "id": 67, | |
| "nodeType": "ExpressionStatement", | |
| "src": "955:21:0" | |
| }, | |
| { | |
| "expression": { | |
| "argumentTypes": null, | |
| "id": 73, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": false, | |
| "lValueRequested": false, | |
| "leftHandSide": { | |
| "argumentTypes": null, | |
| "id": 68, | |
| "name": "last", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 21, | |
| "src": "989:4:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "nodeType": "Assignment", | |
| "operator": "=", | |
| "rightHandSide": { | |
| "argumentTypes": null, | |
| "condition": { | |
| "argumentTypes": null, | |
| "id": 69, | |
| "name": "enabledThing", | |
| "nodeType": "Identifier", | |
| "overloadedDeclarations": [], | |
| "referencedDeclaration": 19, | |
| "src": "996:12:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_bool", | |
| "typeString": "bool" | |
| } | |
| }, | |
| "falseExpression": { | |
| "argumentTypes": null, | |
| "hexValue": "36", | |
| "id": 71, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": true, | |
| "kind": "number", | |
| "lValueRequested": false, | |
| "nodeType": "Literal", | |
| "src": "1015:1:0", | |
| "subdenomination": null, | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_rational_6_by_1", | |
| "typeString": "int_const 6" | |
| }, | |
| "value": "6" | |
| }, | |
| "id": 72, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": false, | |
| "lValueRequested": false, | |
| "nodeType": "Conditional", | |
| "src": "996:20:0", | |
| "trueExpression": { | |
| "argumentTypes": null, | |
| "hexValue": "35", | |
| "id": 70, | |
| "isConstant": false, | |
| "isLValue": false, | |
| "isPure": true, | |
| "kind": "number", | |
| "lValueRequested": false, | |
| "nodeType": "Literal", | |
| "src": "1011:1:0", | |
| "subdenomination": null, | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_rational_5_by_1", | |
| "typeString": "int_const 5" | |
| }, | |
| "value": "5" | |
| }, | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint8", | |
| "typeString": "uint8" | |
| } | |
| }, | |
| "src": "989:27:0", | |
| "typeDescriptions": { | |
| "typeIdentifier": "t_uint256", | |
| "typeString": "uint256" | |
| } | |
| }, | |
| "id": 74, | |
| "nodeType": "ExpressionStatement", | |
| "src": "989:27:0" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment