solidity/test/libsolidity/ASTJSON/short_type_name_ref.json

141 lines
3.0 KiB
JSON
Raw Normal View History

2018-08-03 17:41:35 +00:00
{
"absolutePath" : "a",
"exportedSymbols" :
{
"c" :
[
12
2018-08-03 17:41:35 +00:00
]
},
"id" : 13,
2018-08-03 17:41:35 +00:00
"nodeType" : "SourceUnit",
"nodes" :
[
{
"baseContracts" : [],
"contractDependencies" : [],
"contractKind" : "contract",
"documentation" : null,
"fullyImplemented" : true,
"id" : 12,
2018-08-03 17:41:35 +00:00
"linearizedBaseContracts" :
[
12
2018-08-03 17:41:35 +00:00
],
"name" : "c",
"nodeType" : "ContractDefinition",
"nodes" :
[
{
"body" :
{
"id" : 10,
2018-08-03 17:41:35 +00:00
"nodeType" : "Block",
"src" : "33:25:1",
"statements" :
[
{
"assignments" :
[
8
2018-08-03 17:41:35 +00:00
],
"declarations" :
[
{
"constant" : false,
"id" : 8,
2018-08-03 17:41:35 +00:00
"name" : "rows",
"nodeType" : "VariableDeclaration",
2019-08-13 11:00:46 +00:00
"overrides" : null,
"scope" : 10,
2018-08-03 17:41:35 +00:00
"src" : "35:20:1",
"stateVariable" : false,
"storageLocation" : "memory",
"typeDescriptions" :
{
"typeIdentifier" : "t_array$_t_array$_t_uint256_$dyn_memory_$dyn_memory_ptr",
"typeString" : "uint256[][]"
},
"typeName" :
{
"baseType" :
{
"baseType" :
{
"id" : 5,
2018-08-03 17:41:35 +00:00
"name" : "uint",
"nodeType" : "ElementaryTypeName",
"src" : "35:4:1",
"typeDescriptions" :
{
"typeIdentifier" : "t_uint256",
"typeString" : "uint256"
}
},
"id" : 6,
2018-08-03 17:41:35 +00:00
"length" : null,
"nodeType" : "ArrayTypeName",
"src" : "35:6:1",
"typeDescriptions" :
{
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage_ptr",
"typeString" : "uint256[]"
}
},
"id" : 7,
2018-08-03 17:41:35 +00:00
"length" : null,
"nodeType" : "ArrayTypeName",
"src" : "35:8:1",
"typeDescriptions" :
{
"typeIdentifier" : "t_array$_t_array$_t_uint256_$dyn_storage_$dyn_storage_ptr",
"typeString" : "uint256[][]"
}
},
"value" : null,
"visibility" : "internal"
}
],
"id" : 9,
2018-08-03 17:41:35 +00:00
"initialValue" : null,
"nodeType" : "VariableDeclarationStatement",
"src" : "35:20:1"
}
]
},
"documentation" : null,
"id" : 11,
2018-08-03 17:41:35 +00:00
"implemented" : true,
"kind" : "function",
2018-08-03 17:41:35 +00:00
"modifiers" : [],
"name" : "f",
"nodeType" : "FunctionDefinition",
2019-08-13 11:00:46 +00:00
"overrides" : null,
2018-08-03 17:41:35 +00:00
"parameters" :
{
"id" : 1,
"nodeType" : "ParameterList",
"parameters" : [],
"src" : "23:2:1"
},
"returnParameters" :
{
"id" : 2,
"nodeType" : "ParameterList",
"parameters" : [],
"src" : "33:0:1"
},
"scope" : 12,
2018-08-03 17:41:35 +00:00
"src" : "13:45:1",
"stateMutability" : "nonpayable",
"superFunction" : null,
"visibility" : "public"
}
],
"scope" : 13,
2018-08-03 17:41:35 +00:00
"src" : "0:60:1"
}
],
"src" : "0:61:1"
}