mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			186 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			186 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "absolutePath": "a",
 | 
						|
  "exportedSymbols":
 | 
						|
  {
 | 
						|
    "C":
 | 
						|
    [
 | 
						|
      8
 | 
						|
    ]
 | 
						|
  },
 | 
						|
  "id": 9,
 | 
						|
  "nodeType": "SourceUnit",
 | 
						|
  "nodes":
 | 
						|
  [
 | 
						|
    {
 | 
						|
      "abstract": false,
 | 
						|
      "baseContracts": [],
 | 
						|
      "canonicalName": "C",
 | 
						|
      "contractDependencies": [],
 | 
						|
      "contractKind": "contract",
 | 
						|
      "fullyImplemented": true,
 | 
						|
      "id": 8,
 | 
						|
      "linearizedBaseContracts":
 | 
						|
      [
 | 
						|
        8
 | 
						|
      ],
 | 
						|
      "name": "C",
 | 
						|
      "nameLocation": "9:1:1",
 | 
						|
      "nodeType": "ContractDefinition",
 | 
						|
      "nodes":
 | 
						|
      [
 | 
						|
        {
 | 
						|
          "body":
 | 
						|
          {
 | 
						|
            "id": 6,
 | 
						|
            "nodeType": "Block",
 | 
						|
            "src": "57:95:1",
 | 
						|
            "statements":
 | 
						|
            [
 | 
						|
              {
 | 
						|
                "AST":
 | 
						|
                {
 | 
						|
                  "nativeSrc": "72:76:1",
 | 
						|
                  "nodeType": "YulBlock",
 | 
						|
                  "src": "72:76:1",
 | 
						|
                  "statements":
 | 
						|
                  [
 | 
						|
                    {
 | 
						|
                      "body":
 | 
						|
                      {
 | 
						|
                        "nativeSrc": "94:35:1",
 | 
						|
                        "nodeType": "YulBlock",
 | 
						|
                        "src": "94:35:1",
 | 
						|
                        "statements":
 | 
						|
                        [
 | 
						|
                          {
 | 
						|
                            "body":
 | 
						|
                            {
 | 
						|
                              "nativeSrc": "118:3:1",
 | 
						|
                              "nodeType": "YulBlock",
 | 
						|
                              "src": "118:3:1",
 | 
						|
                              "statements": []
 | 
						|
                            },
 | 
						|
                            "name": "f2",
 | 
						|
                            "nativeSrc": "104:17:1",
 | 
						|
                            "nodeType": "YulFunctionDefinition",
 | 
						|
                            "src": "104:17:1"
 | 
						|
                          }
 | 
						|
                        ]
 | 
						|
                      },
 | 
						|
                      "name": "f1",
 | 
						|
                      "nativeSrc": "80:49:1",
 | 
						|
                      "nodeType": "YulFunctionDefinition",
 | 
						|
                      "src": "80:49:1"
 | 
						|
                    },
 | 
						|
                    {
 | 
						|
                      "nativeSrc": "136:6:1",
 | 
						|
                      "nodeType": "YulAssignment",
 | 
						|
                      "src": "136:6:1",
 | 
						|
                      "value":
 | 
						|
                      {
 | 
						|
                        "kind": "number",
 | 
						|
                        "nativeSrc": "141:1:1",
 | 
						|
                        "nodeType": "YulLiteral",
 | 
						|
                        "src": "141:1:1",
 | 
						|
                        "type": "",
 | 
						|
                        "value": "2"
 | 
						|
                      },
 | 
						|
                      "variableNames":
 | 
						|
                      [
 | 
						|
                        {
 | 
						|
                          "name": "x",
 | 
						|
                          "nativeSrc": "136:1:1",
 | 
						|
                          "nodeType": "YulIdentifier",
 | 
						|
                          "src": "136:1:1"
 | 
						|
                        }
 | 
						|
                      ]
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "evmVersion": %EVMVERSION%,
 | 
						|
                "externalReferences":
 | 
						|
                [
 | 
						|
                  {
 | 
						|
                    "declaration": 3,
 | 
						|
                    "isOffset": false,
 | 
						|
                    "isSlot": false,
 | 
						|
                    "src": "136:1:1",
 | 
						|
                    "valueSize": 1
 | 
						|
                  }
 | 
						|
                ],
 | 
						|
                "id": 5,
 | 
						|
                "nodeType": "InlineAssembly",
 | 
						|
                "src": "63:85:1"
 | 
						|
              }
 | 
						|
            ]
 | 
						|
          },
 | 
						|
          "functionSelector": "26121ff0",
 | 
						|
          "id": 7,
 | 
						|
          "implemented": true,
 | 
						|
          "kind": "function",
 | 
						|
          "modifiers": [],
 | 
						|
          "name": "f",
 | 
						|
          "nameLocation": "24:1:1",
 | 
						|
          "nodeType": "FunctionDefinition",
 | 
						|
          "parameters":
 | 
						|
          {
 | 
						|
            "id": 1,
 | 
						|
            "nodeType": "ParameterList",
 | 
						|
            "parameters": [],
 | 
						|
            "src": "25:2:1"
 | 
						|
          },
 | 
						|
          "returnParameters":
 | 
						|
          {
 | 
						|
            "id": 4,
 | 
						|
            "nodeType": "ParameterList",
 | 
						|
            "parameters":
 | 
						|
            [
 | 
						|
              {
 | 
						|
                "constant": false,
 | 
						|
                "id": 3,
 | 
						|
                "mutability": "mutable",
 | 
						|
                "name": "x",
 | 
						|
                "nameLocation": "54:1:1",
 | 
						|
                "nodeType": "VariableDeclaration",
 | 
						|
                "scope": 7,
 | 
						|
                "src": "49:6:1",
 | 
						|
                "stateVariable": false,
 | 
						|
                "storageLocation": "default",
 | 
						|
                "typeDescriptions":
 | 
						|
                {
 | 
						|
                  "typeIdentifier": "t_uint256",
 | 
						|
                  "typeString": "uint256"
 | 
						|
                },
 | 
						|
                "typeName":
 | 
						|
                {
 | 
						|
                  "id": 2,
 | 
						|
                  "name": "uint",
 | 
						|
                  "nodeType": "ElementaryTypeName",
 | 
						|
                  "src": "49:4:1",
 | 
						|
                  "typeDescriptions":
 | 
						|
                  {
 | 
						|
                    "typeIdentifier": "t_uint256",
 | 
						|
                    "typeString": "uint256"
 | 
						|
                  }
 | 
						|
                },
 | 
						|
                "visibility": "internal"
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "src": "48:8:1"
 | 
						|
          },
 | 
						|
          "scope": 8,
 | 
						|
          "src": "15:137:1",
 | 
						|
          "stateMutability": "pure",
 | 
						|
          "virtual": false,
 | 
						|
          "visibility": "public"
 | 
						|
        }
 | 
						|
      ],
 | 
						|
      "scope": 9,
 | 
						|
      "src": "0:154:1",
 | 
						|
      "usedErrors": [],
 | 
						|
      "usedEvents": []
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "src": "0:155:1"
 | 
						|
}
 |