aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ASTJSON/non_utf8.json
blob: 307259e961e39c4d8c0724b954f961c74a51b584 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
    "absolutePath" : "a",
    "exportedSymbols" : 
    {
        "C" : 
        [
            8
        ]
    },
    "id" : 9,
    "nodeType" : "SourceUnit",
    "nodes" : 
    [
        {
            "baseContracts" : [],
            "contractDependencies" : [],
            "contractKind" : "contract",
            "documentation" : null,
            "fullyImplemented" : true,
            "id" : 8,
            "linearizedBaseContracts" : 
            [
                8
            ],
            "name" : "C",
            "nodeType" : "ContractDefinition",
            "nodes" : 
            [
                {
                    "body" : 
                    {
                        "id" : 6,
                        "nodeType" : "Block",
                        "src" : "33:20:1",
                        "statements" : 
                        [
                            {
                                "assignments" : 
                                [
                                    3
                                ],
                                "declarations" : 
                                [
                                    {
                                        "constant" : false,
                                        "id" : 3,
                                        "name" : "x",
                                        "nodeType" : "VariableDeclaration",
                                        "scope" : 6,
                                        "src" : "35:5:1",
                                        "stateVariable" : false,
                                        "storageLocation" : "default",
                                        "typeDescriptions" : 
                                        {
                                            "typeIdentifier" : "t_string_memory_ptr",
                                            "typeString" : "string"
                                        },
                                        "typeName" : null,
                                        "value" : null,
                                        "visibility" : "internal"
                                    }
                                ],
                                "id" : 5,
                                "initialValue" : 
                                {
                                    "argumentTypes" : null,
                                    "hexValue" : "ff",
                                    "id" : 4,
                                    "isConstant" : false,
                                    "isLValue" : false,
                                    "isPure" : true,
                                    "kind" : "string",
                                    "lValueRequested" : false,
                                    "nodeType" : "Literal",
                                    "src" : "43:7:1",
                                    "subdenomination" : null,
                                    "typeDescriptions" : 
                                    {
                                        "typeIdentifier" : "t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9",
                                        "typeString" : "literal_string (contains invalid UTF-8 sequence at position 0)"
                                    },
                                    "value" : null
                                },
                                "nodeType" : "VariableDeclarationStatement",
                                "src" : "35:15:1"
                            }
                        ]
                    },
                    "documentation" : null,
                    "id" : 7,
                    "implemented" : true,
                    "isConstructor" : false,
                    "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"
                    },
                    "scope" : 8,
                    "src" : "13:40:1",
                    "stateMutability" : "nonpayable",
                    "superFunction" : null,
                    "visibility" : "public"
                }
            ],
            "scope" : 9,
            "src" : "0:55:1"
        }
    ],
    "src" : "0:56:1"
}