mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
1e63615206
Update tests. Additional tests Revert changes to the Natspec
189 lines
3.9 KiB
JSON
189 lines
3.9 KiB
JSON
{
|
|
"absolutePath": "a",
|
|
"exportedSymbols":
|
|
{
|
|
"C":
|
|
[
|
|
13
|
|
],
|
|
"L":
|
|
[
|
|
4
|
|
],
|
|
"f":
|
|
[
|
|
10
|
|
]
|
|
},
|
|
"id": 14,
|
|
"nodeType": "SourceUnit",
|
|
"nodes":
|
|
[
|
|
{
|
|
"functionList":
|
|
[
|
|
{
|
|
"function":
|
|
{
|
|
"id": 1,
|
|
"name": "f",
|
|
"nameLocations":
|
|
[
|
|
"7:1:1"
|
|
],
|
|
"nodeType": "IdentifierPath",
|
|
"referencedDeclaration": 10,
|
|
"src": "7:1:1"
|
|
}
|
|
}
|
|
],
|
|
"global": false,
|
|
"id": 3,
|
|
"nodeType": "UsingForDirective",
|
|
"src": "0:19:1",
|
|
"typeName":
|
|
{
|
|
"id": 2,
|
|
"name": "uint",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "14:4:1",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [],
|
|
"canonicalName": "L",
|
|
"contractDependencies": [],
|
|
"contractKind": "library",
|
|
"fullyImplemented": true,
|
|
"id": 4,
|
|
"linearizedBaseContracts":
|
|
[
|
|
4
|
|
],
|
|
"name": "L",
|
|
"nameLocation": "28:1:1",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes": [],
|
|
"scope": 14,
|
|
"src": "20:12:1",
|
|
"usedErrors": [],
|
|
"usedEvents": []
|
|
},
|
|
{
|
|
"body":
|
|
{
|
|
"id": 9,
|
|
"nodeType": "Block",
|
|
"src": "50:2:1",
|
|
"statements": []
|
|
},
|
|
"id": 10,
|
|
"implemented": true,
|
|
"kind": "freeFunction",
|
|
"modifiers": [],
|
|
"name": "f",
|
|
"nameLocation": "42:1:1",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters":
|
|
{
|
|
"id": 7,
|
|
"nodeType": "ParameterList",
|
|
"parameters":
|
|
[
|
|
{
|
|
"constant": false,
|
|
"id": 6,
|
|
"mutability": "mutable",
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 10,
|
|
"src": "44:4:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName":
|
|
{
|
|
"id": 5,
|
|
"name": "uint",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "44:4:1",
|
|
"typeDescriptions":
|
|
{
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "43:6:1"
|
|
},
|
|
"returnParameters":
|
|
{
|
|
"id": 8,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "50:0:1"
|
|
},
|
|
"scope": 14,
|
|
"src": "33:19:1",
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [],
|
|
"canonicalName": "C",
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"fullyImplemented": true,
|
|
"id": 13,
|
|
"linearizedBaseContracts":
|
|
[
|
|
13
|
|
],
|
|
"name": "C",
|
|
"nameLocation": "62:1:1",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes":
|
|
[
|
|
{
|
|
"global": false,
|
|
"id": 12,
|
|
"libraryName":
|
|
{
|
|
"id": 11,
|
|
"name": "L",
|
|
"nameLocations":
|
|
[
|
|
"72:1:1"
|
|
],
|
|
"nodeType": "IdentifierPath",
|
|
"referencedDeclaration": 4,
|
|
"src": "72:1:1"
|
|
},
|
|
"nodeType": "UsingForDirective",
|
|
"src": "66:14:1"
|
|
}
|
|
],
|
|
"scope": 14,
|
|
"src": "53:29:1",
|
|
"usedErrors": [],
|
|
"usedEvents": []
|
|
}
|
|
],
|
|
"src": "0:83:1"
|
|
}
|