aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ASTJSON/inheritance_specifier.json
blob: edef8677978ca3ae21c378c100ef5dfdec09a469 (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
{
    "absolutePath" : "a",
    "exportedSymbols" : 
    {
        "C1" : 
        [
            1
        ],
        "C2" : 
        [
            4
        ]
    },
    "id" : 5,
    "nodeType" : "SourceUnit",
    "nodes" : 
    [
        {
            "baseContracts" : [],
            "contractDependencies" : [],
            "contractKind" : "contract",
            "documentation" : null,
            "fullyImplemented" : true,
            "id" : 1,
            "linearizedBaseContracts" : 
            [
                1
            ],
            "name" : "C1",
            "nodeType" : "ContractDefinition",
            "nodes" : [],
            "scope" : 5,
            "src" : "0:14:1"
        },
        {
            "baseContracts" : 
            [
                {
                    "arguments" : null,
                    "baseName" : 
                    {
                        "contractScope" : null,
                        "id" : 2,
                        "name" : "C1",
                        "nodeType" : "UserDefinedTypeName",
                        "referencedDeclaration" : 1,
                        "src" : "30:2:1",
                        "typeDescriptions" : 
                        {
                            "typeIdentifier" : "t_contract$_C1_$1",
                            "typeString" : "contract C1"
                        }
                    },
                    "id" : 3,
                    "nodeType" : "InheritanceSpecifier",
                    "src" : "30:2:1"
                }
            ],
            "contractDependencies" : 
            [
                1
            ],
            "contractKind" : "contract",
            "documentation" : null,
            "fullyImplemented" : true,
            "id" : 4,
            "linearizedBaseContracts" : 
            [
                4,
                1
            ],
            "name" : "C2",
            "nodeType" : "ContractDefinition",
            "nodes" : [],
            "scope" : 5,
            "src" : "15:20:1"
        }
    ],
    "src" : "0:36:1"
}