solidity/test/libsolidity/ASTJSON/short_type_name_ref_legacy.json

176 lines
3.2 KiB
JSON

{
"attributes" :
{
"absolutePath" : "a",
"exportedSymbols" :
{
"c" :
[
11
]
}
},
"children" :
[
{
"attributes" :
{
"baseContracts" :
[
null
],
"contractDependencies" :
[
null
],
"contractKind" : "contract",
"documentation" : null,
"fullyImplemented" : true,
"linearizedBaseContracts" :
[
11
],
"name" : "c",
"scope" : 12
},
"children" :
[
{
"attributes" :
{
"documentation" : null,
"implemented" : true,
"kind" : "function",
"modifiers" :
[
null
],
"name" : "f",
"scope" : 11,
"stateMutability" : "nonpayable",
"superFunction" : null,
"visibility" : "public"
},
"children" :
[
{
"attributes" :
{
"parameters" :
[
null
]
},
"children" : [],
"id" : 1,
"name" : "ParameterList",
"src" : "23:2:1"
},
{
"attributes" :
{
"parameters" :
[
null
]
},
"children" : [],
"id" : 2,
"name" : "ParameterList",
"src" : "33:0:1"
},
{
"children" :
[
{
"attributes" :
{
"assignments" :
[
7
],
"initialValue" : null
},
"children" :
[
{
"attributes" :
{
"constant" : false,
"name" : "rows",
"scope" : 9,
"stateVariable" : false,
"storageLocation" : "memory",
"type" : "uint256[][]",
"value" : null,
"visibility" : "internal"
},
"children" :
[
{
"attributes" :
{
"length" : null,
"type" : "uint256[][]"
},
"children" :
[
{
"attributes" :
{
"length" : null,
"type" : "uint256[]"
},
"children" :
[
{
"attributes" :
{
"name" : "uint",
"type" : "uint256"
},
"id" : 4,
"name" : "ElementaryTypeName",
"src" : "35:4:1"
}
],
"id" : 5,
"name" : "ArrayTypeName",
"src" : "35:6:1"
}
],
"id" : 6,
"name" : "ArrayTypeName",
"src" : "35:8:1"
}
],
"id" : 7,
"name" : "VariableDeclaration",
"src" : "35:20:1"
}
],
"id" : 8,
"name" : "VariableDeclarationStatement",
"src" : "35:20:1"
}
],
"id" : 9,
"name" : "Block",
"src" : "33:25:1"
}
],
"id" : 10,
"name" : "FunctionDefinition",
"src" : "13:45:1"
}
],
"id" : 11,
"name" : "ContractDefinition",
"src" : "0:60:1"
}
],
"id" : 12,
"name" : "SourceUnit",
"src" : "0:61:1"
}