mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
207 lines
5.4 KiB
JSON
207 lines
5.4 KiB
JSON
{
|
|
"attributes":
|
|
{
|
|
"absolutePath": "a",
|
|
"exportedSymbols":
|
|
{
|
|
"C":
|
|
[
|
|
12
|
|
]
|
|
}
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"abstract": false,
|
|
"baseContracts":
|
|
[
|
|
null
|
|
],
|
|
"contractDependencies":
|
|
[
|
|
null
|
|
],
|
|
"contractKind": "contract",
|
|
"fullyImplemented": true,
|
|
"linearizedBaseContracts":
|
|
[
|
|
12
|
|
],
|
|
"name": "C",
|
|
"scope": 13
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"functionSelector": "26121ff0",
|
|
"implemented": true,
|
|
"isConstructor": false,
|
|
"kind": "function",
|
|
"modifiers":
|
|
[
|
|
null
|
|
],
|
|
"name": "f",
|
|
"scope": 12,
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false,
|
|
"visibility": "public"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"parameters":
|
|
[
|
|
null
|
|
]
|
|
},
|
|
"children": [],
|
|
"id": 1,
|
|
"name": "ParameterList",
|
|
"src": "23:2:1"
|
|
},
|
|
{
|
|
"attributes":
|
|
{
|
|
"parameters":
|
|
[
|
|
null
|
|
]
|
|
},
|
|
"children": [],
|
|
"id": 2,
|
|
"name": "ParameterList",
|
|
"src": "26:0:1"
|
|
},
|
|
{
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"assignments":
|
|
[
|
|
4
|
|
]
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"constant": false,
|
|
"mutability": "mutable",
|
|
"name": "x",
|
|
"scope": 10,
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"type": "uint256",
|
|
"visibility": "internal"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"name": "uint",
|
|
"type": "uint256"
|
|
},
|
|
"id": 3,
|
|
"name": "ElementaryTypeName",
|
|
"src": "28:4:1"
|
|
}
|
|
],
|
|
"id": 4,
|
|
"name": "VariableDeclaration",
|
|
"src": "28:6:1"
|
|
},
|
|
{
|
|
"attributes":
|
|
{
|
|
"hexvalue": "32",
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": true,
|
|
"lValueRequested": false,
|
|
"token": "number",
|
|
"type": "int_const 2",
|
|
"value": "2"
|
|
},
|
|
"id": 5,
|
|
"name": "Literal",
|
|
"src": "37:1:1"
|
|
}
|
|
],
|
|
"id": 6,
|
|
"name": "VariableDeclarationStatement",
|
|
"src": "28:10:1"
|
|
},
|
|
{
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"operator": "++",
|
|
"prefix": false,
|
|
"type": "uint256"
|
|
},
|
|
"children":
|
|
[
|
|
{
|
|
"attributes":
|
|
{
|
|
"overloadedDeclarations":
|
|
[
|
|
null
|
|
],
|
|
"referencedDeclaration": 4,
|
|
"type": "uint256",
|
|
"value": "x"
|
|
},
|
|
"id": 7,
|
|
"name": "Identifier",
|
|
"src": "40:1:1"
|
|
}
|
|
],
|
|
"id": 8,
|
|
"name": "UnaryOperation",
|
|
"src": "40:3:1"
|
|
}
|
|
],
|
|
"id": 9,
|
|
"name": "ExpressionStatement",
|
|
"src": "40:3:1"
|
|
}
|
|
],
|
|
"id": 10,
|
|
"name": "Block",
|
|
"src": "26:20:1"
|
|
}
|
|
],
|
|
"id": 11,
|
|
"name": "FunctionDefinition",
|
|
"src": "13:33:1"
|
|
}
|
|
],
|
|
"id": 12,
|
|
"name": "ContractDefinition",
|
|
"src": "0:48:1"
|
|
}
|
|
],
|
|
"id": 13,
|
|
"name": "SourceUnit",
|
|
"src": "0:49:1"
|
|
}
|