aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ASTJSON/array_type_name.json
blob: e3a3bea9462972b1e9b665a936a9e22005d55d5c (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
{
    "absolutePath" : "a",
    "exportedSymbols" : 
    {
        "C" : 
        [
            4
        ]
    },
    "id" : 5,
    "nodeType" : "SourceUnit",
    "nodes" : 
    [
        {
            "baseContracts" : [],
            "contractDependencies" : [],
            "contractKind" : "contract",
            "documentation" : null,
            "fullyImplemented" : true,
            "id" : 4,
            "linearizedBaseContracts" : 
            [
                4
            ],
            "name" : "C",
            "nodeType" : "ContractDefinition",
            "nodes" : 
            [
                {
                    "constant" : false,
                    "id" : 3,
                    "name" : "i",
                    "nodeType" : "VariableDeclaration",
                    "scope" : 4,
                    "src" : "13:8:1",
                    "stateVariable" : true,
                    "storageLocation" : "default",
                    "typeDescriptions" : 
                    {
                        "typeIdentifier" : "t_array$_t_uint256_$dyn_storage",
                        "typeString" : "uint256[]"
                    },
                    "typeName" : 
                    {
                        "baseType" : 
                        {
                            "id" : 1,
                            "name" : "uint",
                            "nodeType" : "ElementaryTypeName",
                            "src" : "13:4:1",
                            "typeDescriptions" : 
                            {
                                "typeIdentifier" : "t_uint256",
                                "typeString" : "uint256"
                            }
                        },
                        "id" : 2,
                        "length" : null,
                        "nodeType" : "ArrayTypeName",
                        "src" : "13:6:1",
                        "typeDescriptions" : 
                        {
                            "typeIdentifier" : "t_array$_t_uint256_$dyn_storage_ptr",
                            "typeString" : "uint256[]"
                        }
                    },
                    "value" : null,
                    "visibility" : "internal"
                }
            ],
            "scope" : 5,
            "src" : "0:24:1"
        }
    ],
    "src" : "0:25:1"
}