aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ASTJSON/using_for_directive.json
blob: 33caabb477a62f8054c308cbad07363172a76873 (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
{
    "absolutePath" : "a",
    "exportedSymbols" : 
    {
        "C" : 
        [
            5
        ],
        "L" : 
        [
            1
        ]
    },
    "id" : 6,
    "nodeType" : "SourceUnit",
    "nodes" : 
    [
        {
            "baseContracts" : [],
            "contractDependencies" : [],
            "contractKind" : "library",
            "documentation" : null,
            "fullyImplemented" : true,
            "id" : 1,
            "linearizedBaseContracts" : 
            [
                1
            ],
            "name" : "L",
            "nodeType" : "ContractDefinition",
            "nodes" : [],
            "scope" : 6,
            "src" : "0:12:1"
        },
        {
            "baseContracts" : [],
            "contractDependencies" : [],
            "contractKind" : "contract",
            "documentation" : null,
            "fullyImplemented" : true,
            "id" : 5,
            "linearizedBaseContracts" : 
            [
                5
            ],
            "name" : "C",
            "nodeType" : "ContractDefinition",
            "nodes" : 
            [
                {
                    "id" : 4,
                    "libraryName" : 
                    {
                        "contractScope" : null,
                        "id" : 2,
                        "name" : "L",
                        "nodeType" : "UserDefinedTypeName",
                        "referencedDeclaration" : 1,
                        "src" : "32:1:1",
                        "typeDescriptions" : 
                        {
                            "typeIdentifier" : "t_contract$_L_$1",
                            "typeString" : "library L"
                        }
                    },
                    "nodeType" : "UsingForDirective",
                    "src" : "26:17:1",
                    "typeName" : 
                    {
                        "id" : 3,
                        "name" : "uint",
                        "nodeType" : "ElementaryTypeName",
                        "src" : "38:4:1",
                        "typeDescriptions" : 
                        {
                            "typeIdentifier" : "t_uint256",
                            "typeString" : "uint256"
                        }
                    }
                }
            ],
            "scope" : 6,
            "src" : "13:32:1"
        }
    ],
    "src" : "0:46:1"
}