mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
220 lines
4.0 KiB
JSON
220 lines
4.0 KiB
JSON
{
|
|
"attributes" :
|
|
{
|
|
"absolutePath" : "a",
|
|
"exportedSymbols" :
|
|
{
|
|
"c" :
|
|
[
|
|
14
|
|
]
|
|
}
|
|
},
|
|
"children" :
|
|
[
|
|
{
|
|
"attributes" :
|
|
{
|
|
"baseContracts" :
|
|
[
|
|
null
|
|
],
|
|
"contractDependencies" :
|
|
[
|
|
null
|
|
],
|
|
"contractKind" : "contract",
|
|
"documentation" : null,
|
|
"fullyImplemented" : true,
|
|
"linearizedBaseContracts" :
|
|
[
|
|
14
|
|
],
|
|
"name" : "c",
|
|
"scope" : 15
|
|
},
|
|
"children" :
|
|
[
|
|
{
|
|
"attributes" :
|
|
{
|
|
"constant" : false,
|
|
"name" : "a",
|
|
"scope" : 14,
|
|
"stateVariable" : true,
|
|
"storageLocation" : "default",
|
|
"type" : "uint256[]",
|
|
"value" : null,
|
|
"visibility" : "internal"
|
|
},
|
|
"children" :
|
|
[
|
|
{
|
|
"attributes" :
|
|
{
|
|
"length" : null,
|
|
"type" : "uint256[]"
|
|
},
|
|
"children" :
|
|
[
|
|
{
|
|
"attributes" :
|
|
{
|
|
"name" : "uint",
|
|
"type" : "uint256"
|
|
},
|
|
"id" : 1,
|
|
"name" : "ElementaryTypeName",
|
|
"src" : "13:4:1"
|
|
}
|
|
],
|
|
"id" : 2,
|
|
"name" : "ArrayTypeName",
|
|
"src" : "13:6:1"
|
|
}
|
|
],
|
|
"id" : 3,
|
|
"name" : "VariableDeclaration",
|
|
"src" : "13:8:1"
|
|
},
|
|
{
|
|
"attributes" :
|
|
{
|
|
"documentation" : null,
|
|
"implemented" : true,
|
|
"isConstructor" : false,
|
|
"modifiers" :
|
|
[
|
|
null
|
|
],
|
|
"name" : "f",
|
|
"scope" : 14,
|
|
"stateMutability" : "nonpayable",
|
|
"superFunction" : null,
|
|
"visibility" : "public"
|
|
},
|
|
"children" :
|
|
[
|
|
{
|
|
"attributes" :
|
|
{
|
|
"parameters" :
|
|
[
|
|
null
|
|
]
|
|
},
|
|
"children" : [],
|
|
"id" : 4,
|
|
"name" : "ParameterList",
|
|
"src" : "33:2:1"
|
|
},
|
|
{
|
|
"attributes" :
|
|
{
|
|
"parameters" :
|
|
[
|
|
null
|
|
]
|
|
},
|
|
"children" : [],
|
|
"id" : 5,
|
|
"name" : "ParameterList",
|
|
"src" : "43:0:1"
|
|
},
|
|
{
|
|
"children" :
|
|
[
|
|
{
|
|
"attributes" :
|
|
{
|
|
"assignments" :
|
|
[
|
|
9
|
|
]
|
|
},
|
|
"children" :
|
|
[
|
|
{
|
|
"attributes" :
|
|
{
|
|
"constant" : false,
|
|
"name" : "b",
|
|
"scope" : 12,
|
|
"stateVariable" : false,
|
|
"storageLocation" : "storage",
|
|
"type" : "uint256[]",
|
|
"value" : null,
|
|
"visibility" : "internal"
|
|
},
|
|
"children" :
|
|
[
|
|
{
|
|
"attributes" :
|
|
{
|
|
"length" : null,
|
|
"type" : "uint256[]"
|
|
},
|
|
"children" :
|
|
[
|
|
{
|
|
"attributes" :
|
|
{
|
|
"name" : "uint",
|
|
"type" : "uint256"
|
|
},
|
|
"id" : 7,
|
|
"name" : "ElementaryTypeName",
|
|
"src" : "45:4:1"
|
|
}
|
|
],
|
|
"id" : 8,
|
|
"name" : "ArrayTypeName",
|
|
"src" : "45:6:1"
|
|
}
|
|
],
|
|
"id" : 9,
|
|
"name" : "VariableDeclaration",
|
|
"src" : "45:16:1"
|
|
},
|
|
{
|
|
"attributes" :
|
|
{
|
|
"argumentTypes" : null,
|
|
"overloadedDeclarations" :
|
|
[
|
|
null
|
|
],
|
|
"referencedDeclaration" : 3,
|
|
"type" : "uint256[] storage ref",
|
|
"value" : "a"
|
|
},
|
|
"id" : 10,
|
|
"name" : "Identifier",
|
|
"src" : "64:1:1"
|
|
}
|
|
],
|
|
"id" : 11,
|
|
"name" : "VariableDeclarationStatement",
|
|
"src" : "45:20:1"
|
|
}
|
|
],
|
|
"id" : 12,
|
|
"name" : "Block",
|
|
"src" : "43:25:1"
|
|
}
|
|
],
|
|
"id" : 13,
|
|
"name" : "FunctionDefinition",
|
|
"src" : "23:45:1"
|
|
}
|
|
],
|
|
"id" : 14,
|
|
"name" : "ContractDefinition",
|
|
"src" : "0:70:1"
|
|
}
|
|
],
|
|
"id" : 15,
|
|
"name" : "SourceUnit",
|
|
"src" : "0:71:1"
|
|
}
|