solidity/test/libsolidity/ASTJSON/non_utf8.json

131 lines
3.5 KiB
JSON
Raw Normal View History

2018-08-03 17:41:35 +00:00
{
"absolutePath": "a",
"exportedSymbols":
{
"C":
[
2020-07-15 17:50:59 +00:00
9
]
},
2020-07-15 17:50:59 +00:00
"id": 10,
"nodeType": "SourceUnit",
"nodes":
[
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
2020-07-15 17:50:59 +00:00
"id": 9,
"linearizedBaseContracts":
[
2020-07-15 17:50:59 +00:00
9
],
"name": "C",
"nodeType": "ContractDefinition",
"nodes":
[
{
"body":
{
2020-07-15 17:50:59 +00:00
"id": 7,
"nodeType": "Block",
2020-07-15 17:50:59 +00:00
"src": "33:30:1",
"statements":
[
{
"assignments":
[
2020-07-15 17:50:59 +00:00
4
],
"declarations":
[
{
"constant": false,
2020-07-15 17:50:59 +00:00
"id": 4,
2020-04-07 09:10:10 +00:00
"mutability": "mutable",
"name": "x",
"nodeType": "VariableDeclaration",
2020-07-15 17:50:59 +00:00
"scope": 7,
"src": "35:15:1",
"stateVariable": false,
2020-07-15 17:50:59 +00:00
"storageLocation": "memory",
"typeDescriptions":
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
2020-07-15 17:50:59 +00:00
"typeName":
{
"id": 3,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "35:6:1",
"typeDescriptions":
{
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
2020-07-15 17:50:59 +00:00
"id": 6,
"initialValue":
{
"hexValue": "ff",
2020-07-15 17:50:59 +00:00
"id": 5,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
2020-07-15 17:50:59 +00:00
"src": "53:7:1",
"typeDescriptions":
{
"typeIdentifier": "t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9",
"typeString": "literal_string (contains invalid UTF-8 sequence at position 0)"
2020-04-27 08:28:54 +00:00
}
},
"nodeType": "VariableDeclarationStatement",
2020-07-15 17:50:59 +00:00
"src": "35:25:1"
}
]
},
"functionSelector": "26121ff0",
2020-07-15 17:50:59 +00:00
"id": 8,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "f",
"nodeType": "FunctionDefinition",
"parameters":
{
"id": 1,
"nodeType": "ParameterList",
"parameters": [],
"src": "23:2:1"
},
"returnParameters":
{
"id": 2,
"nodeType": "ParameterList",
"parameters": [],
"src": "33:0:1"
},
2020-07-15 17:50:59 +00:00
"scope": 9,
"src": "13:50:1",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
}
],
2020-07-15 17:50:59 +00:00
"scope": 10,
"src": "0:65:1"
}
],
2020-07-15 17:50:59 +00:00
"src": "0:66:1"
2018-08-03 17:41:35 +00:00
}