solidity/test/libsolidity/ASTJSON/non_utf8_legacy.json

165 lines
4.0 KiB
JSON
Raw Normal View History

2018-08-03 17:41:35 +00:00
{
"attributes":
{
"absolutePath": "a",
"exportedSymbols":
{
"C":
[
2020-07-15 17:50:59 +00:00
9
]
2020-04-27 08:28:54 +00:00
}
},
"children":
[
{
"attributes":
{
2019-10-23 20:10:12 +00:00
"abstract": false,
"baseContracts":
[
null
],
"contractDependencies":
[
null
],
"contractKind": "contract",
"fullyImplemented": true,
"linearizedBaseContracts":
[
2020-07-15 17:50:59 +00:00
9
],
"name": "C",
2020-07-15 17:50:59 +00:00
"scope": 10
},
"children":
[
{
"attributes":
{
"functionSelector": "26121ff0",
"implemented": true,
"isConstructor": false,
"kind": "function",
"modifiers":
[
null
],
"name": "f",
2020-07-15 17:50:59 +00:00
"scope": 9,
"stateMutability": "nonpayable",
"virtual": false,
"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":
[
2020-07-15 17:50:59 +00:00
4
]
},
"children":
[
{
"attributes":
{
"constant": false,
2020-04-07 09:10:10 +00:00
"mutability": "mutable",
"name": "x",
2020-07-15 17:50:59 +00:00
"scope": 7,
"stateVariable": false,
2020-07-15 17:50:59 +00:00
"storageLocation": "memory",
"type": "string",
"visibility": "internal"
},
2020-07-15 17:50:59 +00:00
"children":
[
{
"attributes":
{
"name": "string",
"type": "string"
},
"id": 3,
"name": "ElementaryTypeName",
"src": "35:6:1"
}
],
"id": 4,
"name": "VariableDeclaration",
2020-07-15 17:50:59 +00:00
"src": "35:15:1"
},
{
"attributes":
{
"hexvalue": "ff",
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"token": "hexString",
2020-04-27 08:28:54 +00:00
"type": "literal_string (contains invalid UTF-8 sequence at position 0)"
},
2020-07-15 17:50:59 +00:00
"id": 5,
"name": "Literal",
2020-07-15 17:50:59 +00:00
"src": "53:7:1"
}
],
2020-07-15 17:50:59 +00:00
"id": 6,
"name": "VariableDeclarationStatement",
2020-07-15 17:50:59 +00:00
"src": "35:25:1"
}
],
2020-07-15 17:50:59 +00:00
"id": 7,
"name": "Block",
2020-07-15 17:50:59 +00:00
"src": "33:30:1"
}
],
2020-07-15 17:50:59 +00:00
"id": 8,
"name": "FunctionDefinition",
2020-07-15 17:50:59 +00:00
"src": "13:50:1"
}
],
2020-07-15 17:50:59 +00:00
"id": 9,
"name": "ContractDefinition",
2020-07-15 17:50:59 +00:00
"src": "0:65:1"
}
],
2020-07-15 17:50:59 +00:00
"id": 10,
"name": "SourceUnit",
2020-07-15 17:50:59 +00:00
"src": "0:66:1"
2018-08-03 17:41:35 +00:00
}