Modify the expectation files in ASTJSON tests

The following changes to expecation files are required for the ASTJSON
tests to pass:

* remove trailing spaces in ASTJSON tests
* replace indention tabs with 2 spaces in ASTJSON tests
* remove the space between the key and the colon in ASTJSON tests
This commit is contained in:
Gaith Hallak 2019-10-02 18:55:24 +03:00
parent 9d34d7de2f
commit 6c7e849431
50 changed files with 7893 additions and 7893 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,77 +1,77 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
4 4
] ]
}, },
"id" : 5, "id": 5,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 4, "id": 4,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
4 4
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"constant" : false, "constant": false,
"id" : 3, "id": 3,
"name" : "i", "name": "i",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 4, "scope": 4,
"src" : "13:8:1", "src": "13:8:1",
"stateVariable" : true, "stateVariable": true,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage", "typeIdentifier": "t_array$_t_uint256_$dyn_storage",
"typeString" : "uint256[]" "typeString": "uint256[]"
}, },
"typeName" : "typeName":
{ {
"baseType" : "baseType":
{ {
"id" : 1, "id": 1,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "13:4:1", "src": "13:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"id" : 2, "id": 2,
"length" : null, "length": null,
"nodeType" : "ArrayTypeName", "nodeType": "ArrayTypeName",
"src" : "13:6:1", "src": "13:6:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage_ptr", "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString" : "uint256[]" "typeString": "uint256[]"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"scope" : 5, "scope": 5,
"src" : "0:24:1" "src": "0:24:1"
} }
], ],
"src" : "0:25:1" "src": "0:25:1"
} }

View File

@ -1,90 +1,90 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
4 4
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
4 4
], ],
"name" : "C", "name": "C",
"scope" : 5 "scope": 5
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "i", "name": "i",
"overrides" : null, "overrides": null,
"scope" : 4, "scope": 4,
"stateVariable" : true, "stateVariable": true,
"storageLocation" : "default", "storageLocation": "default",
"type" : "uint256[]", "type": "uint256[]",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"length" : null, "length": null,
"type" : "uint256[]" "type": "uint256[]"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 1, "id": 1,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "13:4:1" "src": "13:4:1"
} }
], ],
"id" : 2, "id": 2,
"name" : "ArrayTypeName", "name": "ArrayTypeName",
"src" : "13:6:1" "src": "13:6:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "13:8:1" "src": "13:8:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:24:1" "src": "0:24:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:25:1" "src": "0:25:1"
} }

View File

@ -1,71 +1,71 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
] ]
}, },
"id" : 6, "id": 6,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 5, "id": 5,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 3, "id": 3,
"nodeType" : "Block", "nodeType": "Block",
"src" : "35:4:1", "src": "35:4:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 4, "id": 4,
"implemented" : true, "implemented": true,
"kind" : "constructor", "kind": "constructor",
"modifiers" : [], "modifiers": [],
"name" : "", "name": "",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "25:2:1" "src": "25:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 2, "id": 2,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "35:0:1" "src": "35:0:1"
}, },
"scope" : 5, "scope": 5,
"src" : "14:25:1", "src": "14:25:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 6, "scope": 6,
"src" : "0:41:1" "src": "0:41:1"
} }
], ],
"src" : "0:42:1" "src": "0:42:1"
} }

View File

@ -1,111 +1,111 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"scope" : 6 "scope": 6
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : true, "isConstructor": true,
"kind" : "constructor", "kind": "constructor",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "", "name": "",
"overrides" : null, "overrides": null,
"scope" : 5, "scope": 5,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "25:2:1" "src": "25:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 2, "id": 2,
"name" : "ParameterList", "name": "ParameterList",
"src" : "35:0:1" "src": "35:0:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 3, "id": 3,
"name" : "Block", "name": "Block",
"src" : "35:4:1" "src": "35:4:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "14:25:1" "src": "14:25:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:41:1" "src": "0:41:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:42:1" "src": "0:42:1"
} }

View File

@ -1,233 +1,233 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"A" : "A":
[ [
1 1
], ],
"B" : "B":
[ [
4 4
], ],
"C" : "C":
[ [
7 7
], ],
"D" : "D":
[ [
10 10
], ],
"E" : "E":
[ [
13 13
] ]
}, },
"id" : 14, "id": 14,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 1, "id": 1,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
1 1
], ],
"name" : "A", "name": "A",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 14, "scope": 14,
"src" : "0:14:1" "src": "0:14:1"
}, },
{ {
"baseContracts" : "baseContracts":
[ [
{ {
"arguments" : null, "arguments": null,
"baseName" : "baseName":
{ {
"contractScope" : null, "contractScope": null,
"id" : 2, "id": 2,
"name" : "A", "name": "A",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 1, "referencedDeclaration": 1,
"src" : "29:1:1", "src": "29:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_A_$1", "typeIdentifier": "t_contract$_A_$1",
"typeString" : "contract A" "typeString": "contract A"
} }
}, },
"id" : 3, "id": 3,
"nodeType" : "InheritanceSpecifier", "nodeType": "InheritanceSpecifier",
"src" : "29:1:1" "src": "29:1:1"
} }
], ],
"contractDependencies" : "contractDependencies":
[ [
1 1
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 4, "id": 4,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
4, 4,
1 1
], ],
"name" : "B", "name": "B",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 14, "scope": 14,
"src" : "15:19:1" "src": "15:19:1"
}, },
{ {
"baseContracts" : "baseContracts":
[ [
{ {
"arguments" : null, "arguments": null,
"baseName" : "baseName":
{ {
"contractScope" : null, "contractScope": null,
"id" : 5, "id": 5,
"name" : "B", "name": "B",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 4, "referencedDeclaration": 4,
"src" : "49:1:1", "src": "49:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_B_$4", "typeIdentifier": "t_contract$_B_$4",
"typeString" : "contract B" "typeString": "contract B"
} }
}, },
"id" : 6, "id": 6,
"nodeType" : "InheritanceSpecifier", "nodeType": "InheritanceSpecifier",
"src" : "49:1:1" "src": "49:1:1"
} }
], ],
"contractDependencies" : "contractDependencies":
[ [
1, 1,
4 4
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 7, "id": 7,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
7, 7,
4, 4,
1 1
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 14, "scope": 14,
"src" : "35:19:1" "src": "35:19:1"
}, },
{ {
"baseContracts" : "baseContracts":
[ [
{ {
"arguments" : null, "arguments": null,
"baseName" : "baseName":
{ {
"contractScope" : null, "contractScope": null,
"id" : 8, "id": 8,
"name" : "C", "name": "C",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 7, "referencedDeclaration": 7,
"src" : "69:1:1", "src": "69:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_C_$7", "typeIdentifier": "t_contract$_C_$7",
"typeString" : "contract C" "typeString": "contract C"
} }
}, },
"id" : 9, "id": 9,
"nodeType" : "InheritanceSpecifier", "nodeType": "InheritanceSpecifier",
"src" : "69:1:1" "src": "69:1:1"
} }
], ],
"contractDependencies" : "contractDependencies":
[ [
1, 1,
4, 4,
7 7
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 10, "id": 10,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
10, 10,
7, 7,
4, 4,
1 1
], ],
"name" : "D", "name": "D",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 14, "scope": 14,
"src" : "55:19:1" "src": "55:19:1"
}, },
{ {
"baseContracts" : "baseContracts":
[ [
{ {
"arguments" : null, "arguments": null,
"baseName" : "baseName":
{ {
"contractScope" : null, "contractScope": null,
"id" : 11, "id": 11,
"name" : "D", "name": "D",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 10, "referencedDeclaration": 10,
"src" : "89:1:1", "src": "89:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_D_$10", "typeIdentifier": "t_contract$_D_$10",
"typeString" : "contract D" "typeString": "contract D"
} }
}, },
"id" : 12, "id": 12,
"nodeType" : "InheritanceSpecifier", "nodeType": "InheritanceSpecifier",
"src" : "89:1:1" "src": "89:1:1"
} }
], ],
"contractDependencies" : "contractDependencies":
[ [
1, 1,
4, 4,
7, 7,
10 10
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 13, "id": 13,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
13, 13,
10, 10,
7, 7,
4, 4,
1 1
], ],
"name" : "E", "name": "E",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 14, "scope": 14,
"src" : "75:19:1" "src": "75:19:1"
} }
], ],
"src" : "0:95:1" "src": "0:95:1"
} }

View File

@ -1,288 +1,288 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"A" : "A":
[ [
1 1
], ],
"B" : "B":
[ [
4 4
], ],
"C" : "C":
[ [
7 7
], ],
"D" : "D":
[ [
10 10
], ],
"E" : "E":
[ [
13 13
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
1 1
], ],
"name" : "A", "name": "A",
"nodes" : "nodes":
[ [
null null
], ],
"scope" : 14 "scope": 14
}, },
"id" : 1, "id": 1,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:14:1" "src": "0:14:1"
}, },
{ {
"attributes" : "attributes":
{ {
"contractDependencies" : "contractDependencies":
[ [
1 1
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
4, 4,
1 1
], ],
"name" : "B", "name": "B",
"nodes" : "nodes":
[ [
null null
], ],
"scope" : 14 "scope": 14
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"arguments" : null "arguments": null
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "A", "name": "A",
"referencedDeclaration" : 1, "referencedDeclaration": 1,
"type" : "contract A" "type": "contract A"
}, },
"id" : 2, "id": 2,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "29:1:1" "src": "29:1:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "InheritanceSpecifier", "name": "InheritanceSpecifier",
"src" : "29:1:1" "src": "29:1:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "15:19:1" "src": "15:19:1"
}, },
{ {
"attributes" : "attributes":
{ {
"contractDependencies" : "contractDependencies":
[ [
1, 1,
4 4
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
7, 7,
4, 4,
1 1
], ],
"name" : "C", "name": "C",
"nodes" : "nodes":
[ [
null null
], ],
"scope" : 14 "scope": 14
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"arguments" : null "arguments": null
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "B", "name": "B",
"referencedDeclaration" : 4, "referencedDeclaration": 4,
"type" : "contract B" "type": "contract B"
}, },
"id" : 5, "id": 5,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "49:1:1" "src": "49:1:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "InheritanceSpecifier", "name": "InheritanceSpecifier",
"src" : "49:1:1" "src": "49:1:1"
} }
], ],
"id" : 7, "id": 7,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "35:19:1" "src": "35:19:1"
}, },
{ {
"attributes" : "attributes":
{ {
"contractDependencies" : "contractDependencies":
[ [
1, 1,
4, 4,
7 7
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
10, 10,
7, 7,
4, 4,
1 1
], ],
"name" : "D", "name": "D",
"nodes" : "nodes":
[ [
null null
], ],
"scope" : 14 "scope": 14
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"arguments" : null "arguments": null
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "C", "name": "C",
"referencedDeclaration" : 7, "referencedDeclaration": 7,
"type" : "contract C" "type": "contract C"
}, },
"id" : 8, "id": 8,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "69:1:1" "src": "69:1:1"
} }
], ],
"id" : 9, "id": 9,
"name" : "InheritanceSpecifier", "name": "InheritanceSpecifier",
"src" : "69:1:1" "src": "69:1:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "55:19:1" "src": "55:19:1"
}, },
{ {
"attributes" : "attributes":
{ {
"contractDependencies" : "contractDependencies":
[ [
1, 1,
4, 4,
7, 7,
10 10
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
13, 13,
10, 10,
7, 7,
4, 4,
1 1
], ],
"name" : "E", "name": "E",
"nodes" : "nodes":
[ [
null null
], ],
"scope" : 14 "scope": 14
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"arguments" : null "arguments": null
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "D", "name": "D",
"referencedDeclaration" : 10, "referencedDeclaration": 10,
"type" : "contract D" "type": "contract D"
}, },
"id" : 11, "id": 11,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "89:1:1" "src": "89:1:1"
} }
], ],
"id" : 12, "id": 12,
"name" : "InheritanceSpecifier", "name": "InheritanceSpecifier",
"src" : "89:1:1" "src": "89:1:1"
} }
], ],
"id" : 13, "id": 13,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "75:19:1" "src": "75:19:1"
} }
], ],
"id" : 14, "id": 14,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:95:1" "src": "0:95:1"
} }

View File

@ -1,181 +1,181 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
1 1
] ]
}, },
"id" : 2, "id": 2,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : "This contract is empty", "documentation": "This contract is empty",
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 1, "id": 1,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
1 1
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 2, "scope": 2,
"src" : "28:13:1" "src": "28:13:1"
} }
], ],
"src" : "28:14:1" "src": "28:14:1"
}, },
{ {
"absolutePath" : "b", "absolutePath": "b",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
3 3
] ]
}, },
"id" : 4, "id": 4,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : "This contract is empty\nand has a line-breaking comment.", "documentation": "This contract is empty\nand has a line-breaking comment.",
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 3, "id": 3,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
3 3
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 4, "scope": 4,
"src" : "62:13:2" "src": "62:13:2"
} }
], ],
"src" : "62:14:2" "src": "62:14:2"
}, },
{ {
"absolutePath" : "c", "absolutePath": "c",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
15 15
] ]
}, },
"id" : 16, "id": 16,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 15, "id": 15,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
15 15
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"anonymous" : false, "anonymous": false,
"documentation" : "Some comment on Evt.", "documentation": "Some comment on Evt.",
"id" : 6, "id": 6,
"name" : "Evt", "name": "Evt",
"nodeType" : "EventDefinition", "nodeType": "EventDefinition",
"parameters" : "parameters":
{ {
"id" : 5, "id": 5,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "51:2:3" "src": "51:2:3"
}, },
"src" : "42:12:3" "src": "42:12:3"
}, },
{ {
"body" : "body":
{ {
"id" : 9, "id": 9,
"nodeType" : "Block", "nodeType": "Block",
"src" : "99:6:3", "src": "99:6:3",
"statements" : "statements":
[ [
{ {
"id" : 8, "id": 8,
"nodeType" : "PlaceholderStatement", "nodeType": "PlaceholderStatement",
"src" : "101:1:3" "src": "101:1:3"
} }
] ]
}, },
"documentation" : "Some comment on mod.", "documentation": "Some comment on mod.",
"id" : 10, "id": 10,
"name" : "mod", "name": "mod",
"nodeType" : "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters" : "parameters":
{ {
"id" : 7, "id": 7,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "96:2:3" "src": "96:2:3"
}, },
"src" : "84:21:3", "src": "84:21:3",
"visibility" : "internal" "visibility": "internal"
}, },
{ {
"body" : "body":
{ {
"id" : 13, "id": 13,
"nodeType" : "Block", "nodeType": "Block",
"src" : "155:2:3", "src": "155:2:3",
"statements" : [] "statements": []
}, },
"documentation" : "Some comment on fn.", "documentation": "Some comment on fn.",
"id" : 14, "id": 14,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "fn", "name": "fn",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 11, "id": 11,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "145:2:3" "src": "145:2:3"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 12, "id": 12,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "155:0:3" "src": "155:0:3"
}, },
"scope" : 15, "scope": 15,
"src" : "134:23:3", "src": "134:23:3",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 16, "scope": 16,
"src" : "0:159:3" "src": "0:159:3"
} }
], ],
"src" : "0:160:3" "src": "0:160:3"
} }

View File

@ -1,178 +1,178 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "c", "absolutePath": "c",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
15 15
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
15 15
], ],
"name" : "C", "name": "C",
"scope" : 16 "scope": 16
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"anonymous" : false, "anonymous": false,
"documentation" : "Some comment on Evt.", "documentation": "Some comment on Evt.",
"name" : "Evt" "name": "Evt"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 5, "id": 5,
"name" : "ParameterList", "name": "ParameterList",
"src" : "51:2:3" "src": "51:2:3"
} }
], ],
"id" : 6, "id": 6,
"name" : "EventDefinition", "name": "EventDefinition",
"src" : "42:12:3" "src": "42:12:3"
}, },
{ {
"attributes" : "attributes":
{ {
"documentation" : "Some comment on mod.", "documentation": "Some comment on mod.",
"name" : "mod", "name": "mod",
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 7, "id": 7,
"name" : "ParameterList", "name": "ParameterList",
"src" : "96:2:3" "src": "96:2:3"
}, },
{ {
"children" : "children":
[ [
{ {
"id" : 8, "id": 8,
"name" : "PlaceholderStatement", "name": "PlaceholderStatement",
"src" : "101:1:3" "src": "101:1:3"
} }
], ],
"id" : 9, "id": 9,
"name" : "Block", "name": "Block",
"src" : "99:6:3" "src": "99:6:3"
} }
], ],
"id" : 10, "id": 10,
"name" : "ModifierDefinition", "name": "ModifierDefinition",
"src" : "84:21:3" "src": "84:21:3"
}, },
{ {
"attributes" : "attributes":
{ {
"documentation" : "Some comment on fn.", "documentation": "Some comment on fn.",
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "fn", "name": "fn",
"overrides" : null, "overrides": null,
"scope" : 15, "scope": 15,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 11, "id": 11,
"name" : "ParameterList", "name": "ParameterList",
"src" : "145:2:3" "src": "145:2:3"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 12, "id": 12,
"name" : "ParameterList", "name": "ParameterList",
"src" : "155:0:3" "src": "155:0:3"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 13, "id": 13,
"name" : "Block", "name": "Block",
"src" : "155:2:3" "src": "155:2:3"
} }
], ],
"id" : 14, "id": 14,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "134:23:3" "src": "134:23:3"
} }
], ],
"id" : 15, "id": 15,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:159:3" "src": "0:159:3"
} }
], ],
"id" : 16, "id": 16,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:160:3" "src": "0:160:3"
} }

View File

@ -1,57 +1,57 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
4 4
] ]
}, },
"id" : 5, "id": 5,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 4, "id": 4,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
4 4
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"canonicalName" : "C.E", "canonicalName": "C.E",
"id" : 3, "id": 3,
"members" : "members":
[ [
{ {
"id" : 1, "id": 1,
"name" : "A", "name": "A",
"nodeType" : "EnumValue", "nodeType": "EnumValue",
"src" : "22:1:1" "src": "22:1:1"
}, },
{ {
"id" : 2, "id": 2,
"name" : "B", "name": "B",
"nodeType" : "EnumValue", "nodeType": "EnumValue",
"src" : "25:1:1" "src": "25:1:1"
} }
], ],
"name" : "E", "name": "E",
"nodeType" : "EnumDefinition", "nodeType": "EnumDefinition",
"src" : "13:15:1" "src": "13:15:1"
} }
], ],
"scope" : 5, "scope": 5,
"src" : "0:30:1" "src": "0:30:1"
} }
], ],
"src" : "0:31:1" "src": "0:31:1"
} }

View File

@ -1,78 +1,78 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
4 4
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
4 4
], ],
"name" : "C", "name": "C",
"scope" : 5 "scope": 5
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"canonicalName" : "C.E", "canonicalName": "C.E",
"name" : "E" "name": "E"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "A" "name": "A"
}, },
"id" : 1, "id": 1,
"name" : "EnumValue", "name": "EnumValue",
"src" : "22:1:1" "src": "22:1:1"
}, },
{ {
"attributes" : "attributes":
{ {
"name" : "B" "name": "B"
}, },
"id" : 2, "id": 2,
"name" : "EnumValue", "name": "EnumValue",
"src" : "25:1:1" "src": "25:1:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "EnumDefinition", "name": "EnumDefinition",
"src" : "13:15:1" "src": "13:15:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:30:1" "src": "0:30:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:31:1" "src": "0:31:1"
} }

View File

@ -1,50 +1,50 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
3 3
] ]
}, },
"id" : 4, "id": 4,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 3, "id": 3,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
3 3
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"anonymous" : false, "anonymous": false,
"documentation" : null, "documentation": null,
"id" : 2, "id": 2,
"name" : "E", "name": "E",
"nodeType" : "EventDefinition", "nodeType": "EventDefinition",
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "20:2:1" "src": "20:2:1"
}, },
"src" : "13:10:1" "src": "13:10:1"
} }
], ],
"scope" : 4, "scope": 4,
"src" : "0:25:1" "src": "0:25:1"
} }
], ],
"src" : "0:26:1" "src": "0:26:1"
} }

View File

@ -1,74 +1,74 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
3 3
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
3 3
], ],
"name" : "C", "name": "C",
"scope" : 4 "scope": 4
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"anonymous" : false, "anonymous": false,
"documentation" : null, "documentation": null,
"name" : "E" "name": "E"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "20:2:1" "src": "20:2:1"
} }
], ],
"id" : 2, "id": 2,
"name" : "EventDefinition", "name": "EventDefinition",
"src" : "13:10:1" "src": "13:10:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:25:1" "src": "0:25:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:26:1" "src": "0:26:1"
} }

View File

@ -1,71 +1,71 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
] ]
}, },
"id" : 6, "id": 6,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 5, "id": 5,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 3, "id": 3,
"nodeType" : "Block", "nodeType": "Block",
"src" : "43:5:1", "src": "43:5:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 4, "id": 4,
"implemented" : true, "implemented": true,
"kind" : "fallback", "kind": "fallback",
"modifiers" : [], "modifiers": [],
"name" : "", "name": "",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "23:2:1" "src": "23:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 2, "id": 2,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "43:0:1" "src": "43:0:1"
}, },
"scope" : 5, "scope": 5,
"src" : "15:33:1", "src": "15:33:1",
"stateMutability" : "payable", "stateMutability": "payable",
"superFunction" : null, "superFunction": null,
"visibility" : "external" "visibility": "external"
} }
], ],
"scope" : 6, "scope": 6,
"src" : "0:50:1" "src": "0:50:1"
} }
], ],
"src" : "0:51:1" "src": "0:51:1"
} }

View File

@ -1,111 +1,111 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"scope" : 6 "scope": 6
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "fallback", "kind": "fallback",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "", "name": "",
"overrides" : null, "overrides": null,
"scope" : 5, "scope": 5,
"stateMutability" : "payable", "stateMutability": "payable",
"superFunction" : null, "superFunction": null,
"visibility" : "external" "visibility": "external"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "23:2:1" "src": "23:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 2, "id": 2,
"name" : "ParameterList", "name": "ParameterList",
"src" : "43:0:1" "src": "43:0:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 3, "id": 3,
"name" : "Block", "name": "Block",
"src" : "43:5:1" "src": "43:5:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "15:33:1" "src": "15:33:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:50:1" "src": "0:50:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:51:1" "src": "0:51:1"
} }

View File

@ -1,71 +1,71 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
] ]
}, },
"id" : 6, "id": 6,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 5, "id": 5,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 3, "id": 3,
"nodeType" : "Block", "nodeType": "Block",
"src" : "34:2:1", "src": "34:2:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 4, "id": 4,
"implemented" : true, "implemented": true,
"kind" : "fallback", "kind": "fallback",
"modifiers" : [], "modifiers": [],
"name" : "", "name": "",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "22:2:1" "src": "22:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 2, "id": 2,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "34:0:1" "src": "34:0:1"
}, },
"scope" : 5, "scope": 5,
"src" : "14:22:1", "src": "14:22:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "external" "visibility": "external"
} }
], ],
"scope" : 6, "scope": 6,
"src" : "0:38:1" "src": "0:38:1"
} }
], ],
"src" : "0:39:1" "src": "0:39:1"
} }

View File

@ -1,111 +1,111 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"scope" : 6 "scope": 6
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "fallback", "kind": "fallback",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "", "name": "",
"overrides" : null, "overrides": null,
"scope" : 5, "scope": 5,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "external" "visibility": "external"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "22:2:1" "src": "22:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 2, "id": 2,
"name" : "ParameterList", "name": "ParameterList",
"src" : "34:0:1" "src": "34:0:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 3, "id": 3,
"name" : "Block", "name": "Block",
"src" : "34:2:1" "src": "34:2:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "14:22:1" "src": "14:22:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:38:1" "src": "0:38:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:39:1" "src": "0:39:1"
} }

View File

@ -1,229 +1,229 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
17 17
] ]
}, },
"id" : 18, "id": 18,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 17, "id": 17,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
17 17
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 15, "id": 15,
"nodeType" : "Block", "nodeType": "Block",
"src" : "120:2:1", "src": "120:2:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 16, "id": 16,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "f", "name": "f",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 7, "id": 7,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : "parameters":
[ [
{ {
"constant" : false, "constant": false,
"id" : 6, "id": 6,
"name" : "x", "name": "x",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 16, "scope": 16,
"src" : "24:44:1", "src": "24:44:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_function_external_payable$__$returns$_t_uint256_$", "typeIdentifier": "t_function_external_payable$__$returns$_t_uint256_$",
"typeString" : "function () payable external returns (uint256)" "typeString": "function () payable external returns (uint256)"
}, },
"typeName" : "typeName":
{ {
"id" : 5, "id": 5,
"nodeType" : "FunctionTypeName", "nodeType": "FunctionTypeName",
"parameterTypes" : "parameterTypes":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "32:2:1" "src": "32:2:1"
}, },
"returnParameterTypes" : "returnParameterTypes":
{ {
"id" : 4, "id": 4,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : "parameters":
[ [
{ {
"constant" : false, "constant": false,
"id" : 3, "id": 3,
"name" : "", "name": "",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 5, "scope": 5,
"src" : "61:4:1", "src": "61:4:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
}, },
"typeName" : "typeName":
{ {
"id" : 2, "id": 2,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "61:4:1", "src": "61:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"src" : "60:6:1" "src": "60:6:1"
}, },
"src" : "24:44:1", "src": "24:44:1",
"stateMutability" : "payable", "stateMutability": "payable",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_function_external_payable$__$returns$_t_uint256_$", "typeIdentifier": "t_function_external_payable$__$returns$_t_uint256_$",
"typeString" : "function () payable external returns (uint256)" "typeString": "function () payable external returns (uint256)"
}, },
"visibility" : "external" "visibility": "external"
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"src" : "23:46:1" "src": "23:46:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 14, "id": 14,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : "parameters":
[ [
{ {
"constant" : false, "constant": false,
"id" : 13, "id": 13,
"name" : "", "name": "",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 16, "scope": 16,
"src" : "79:40:1", "src": "79:40:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_function_external_view$__$returns$_t_uint256_$", "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
"typeString" : "function () view external returns (uint256)" "typeString": "function () view external returns (uint256)"
}, },
"typeName" : "typeName":
{ {
"id" : 12, "id": 12,
"nodeType" : "FunctionTypeName", "nodeType": "FunctionTypeName",
"parameterTypes" : "parameterTypes":
{ {
"id" : 8, "id": 8,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "87:2:1" "src": "87:2:1"
}, },
"returnParameterTypes" : "returnParameterTypes":
{ {
"id" : 11, "id": 11,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : "parameters":
[ [
{ {
"constant" : false, "constant": false,
"id" : 10, "id": 10,
"name" : "", "name": "",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 12, "scope": 12,
"src" : "113:4:1", "src": "113:4:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
}, },
"typeName" : "typeName":
{ {
"id" : 9, "id": 9,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "113:4:1", "src": "113:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"src" : "112:6:1" "src": "112:6:1"
}, },
"src" : "79:40:1", "src": "79:40:1",
"stateMutability" : "view", "stateMutability": "view",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_function_external_view$__$returns$_t_uint256_$", "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$",
"typeString" : "function () view external returns (uint256)" "typeString": "function () view external returns (uint256)"
}, },
"visibility" : "external" "visibility": "external"
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"src" : "78:41:1" "src": "78:41:1"
}, },
"scope" : 17, "scope": 17,
"src" : "13:109:1", "src": "13:109:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 18, "scope": 18,
"src" : "0:124:1" "src": "0:124:1"
} }
], ],
"src" : "0:125:1" "src": "0:125:1"
} }

View File

@ -1,271 +1,271 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
17 17
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
17 17
], ],
"name" : "C", "name": "C",
"scope" : 18 "scope": 18
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "f", "name": "f",
"overrides" : null, "overrides": null,
"scope" : 17, "scope": 17,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "x", "name": "x",
"overrides" : null, "overrides": null,
"scope" : 16, "scope": 16,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "function () payable external returns (uint256)", "type": "function () payable external returns (uint256)",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"stateMutability" : "payable", "stateMutability": "payable",
"type" : "function () payable external returns (uint256)", "type": "function () payable external returns (uint256)",
"visibility" : "external" "visibility": "external"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "32:2:1" "src": "32:2:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "", "name": "",
"overrides" : null, "overrides": null,
"scope" : 5, "scope": 5,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "uint256", "type": "uint256",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 2, "id": 2,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "61:4:1" "src": "61:4:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "61:4:1" "src": "61:4:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "ParameterList", "name": "ParameterList",
"src" : "60:6:1" "src": "60:6:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "FunctionTypeName", "name": "FunctionTypeName",
"src" : "24:44:1" "src": "24:44:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "24:44:1" "src": "24:44:1"
} }
], ],
"id" : 7, "id": 7,
"name" : "ParameterList", "name": "ParameterList",
"src" : "23:46:1" "src": "23:46:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "", "name": "",
"overrides" : null, "overrides": null,
"scope" : 16, "scope": 16,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "function () view external returns (uint256)", "type": "function () view external returns (uint256)",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"stateMutability" : "view", "stateMutability": "view",
"type" : "function () view external returns (uint256)", "type": "function () view external returns (uint256)",
"visibility" : "external" "visibility": "external"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 8, "id": 8,
"name" : "ParameterList", "name": "ParameterList",
"src" : "87:2:1" "src": "87:2:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "", "name": "",
"overrides" : null, "overrides": null,
"scope" : 12, "scope": 12,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "uint256", "type": "uint256",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 9, "id": 9,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "113:4:1" "src": "113:4:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "113:4:1" "src": "113:4:1"
} }
], ],
"id" : 11, "id": 11,
"name" : "ParameterList", "name": "ParameterList",
"src" : "112:6:1" "src": "112:6:1"
} }
], ],
"id" : 12, "id": 12,
"name" : "FunctionTypeName", "name": "FunctionTypeName",
"src" : "79:40:1" "src": "79:40:1"
} }
], ],
"id" : 13, "id": 13,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "79:40:1" "src": "79:40:1"
} }
], ],
"id" : 14, "id": 14,
"name" : "ParameterList", "name": "ParameterList",
"src" : "78:41:1" "src": "78:41:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 15, "id": 15,
"name" : "Block", "name": "Block",
"src" : "120:2:1" "src": "120:2:1"
} }
], ],
"id" : 16, "id": 16,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "13:109:1" "src": "13:109:1"
} }
], ],
"id" : 17, "id": 17,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:124:1" "src": "0:124:1"
} }
], ],
"id" : 18, "id": 18,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:125:1" "src": "0:125:1"
} }

View File

@ -1,32 +1,32 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"E" : "E":
[ [
2 2
] ]
}, },
"id" : 3, "id": 3,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"canonicalName" : "E", "canonicalName": "E",
"id" : 2, "id": 2,
"members" : "members":
[ [
{ {
"id" : 1, "id": 1,
"name" : "A", "name": "A",
"nodeType" : "EnumValue", "nodeType": "EnumValue",
"src" : "9:1:1" "src": "9:1:1"
} }
], ],
"name" : "E", "name": "E",
"nodeType" : "EnumDefinition", "nodeType": "EnumDefinition",
"src" : "0:12:1" "src": "0:12:1"
} }
], ],
"src" : "0:13:1" "src": "0:13:1"
} }

View File

@ -1,41 +1,41 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"E" : "E":
[ [
2 2
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"canonicalName" : "E", "canonicalName": "E",
"name" : "E" "name": "E"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "A" "name": "A"
}, },
"id" : 1, "id": 1,
"name" : "EnumValue", "name": "EnumValue",
"src" : "9:1:1" "src": "9:1:1"
} }
], ],
"id" : 2, "id": 2,
"name" : "EnumDefinition", "name": "EnumDefinition",
"src" : "0:12:1" "src": "0:12:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:13:1" "src": "0:13:1"
} }

View File

@ -1,58 +1,58 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"S" : "S":
[ [
3 3
] ]
}, },
"id" : 4, "id": 4,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"canonicalName" : "S", "canonicalName": "S",
"id" : 3, "id": 3,
"members" : "members":
[ [
{ {
"constant" : false, "constant": false,
"id" : 2, "id": 2,
"name" : "a", "name": "a",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 3, "scope": 3,
"src" : "11:9:1", "src": "11:9:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
}, },
"typeName" : "typeName":
{ {
"id" : 1, "id": 1,
"name" : "uint256", "name": "uint256",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "11:7:1", "src": "11:7:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"name" : "S", "name": "S",
"nodeType" : "StructDefinition", "nodeType": "StructDefinition",
"scope" : 4, "scope": 4,
"src" : "0:23:1", "src": "0:23:1",
"visibility" : "public" "visibility": "public"
} }
], ],
"src" : "0:24:1" "src": "0:24:1"
} }

View File

@ -1,64 +1,64 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"S" : "S":
[ [
3 3
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"canonicalName" : "S", "canonicalName": "S",
"name" : "S", "name": "S",
"scope" : 4, "scope": 4,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "a", "name": "a",
"overrides" : null, "overrides": null,
"scope" : 3, "scope": 3,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "uint256", "type": "uint256",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint256", "name": "uint256",
"type" : "uint256" "type": "uint256"
}, },
"id" : 1, "id": 1,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "11:7:1" "src": "11:7:1"
} }
], ],
"id" : 2, "id": 2,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "11:9:1" "src": "11:9:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "StructDefinition", "name": "StructDefinition",
"src" : "0:23:1" "src": "0:23:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:24:1" "src": "0:24:1"
} }

View File

@ -1,80 +1,80 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C1" : "C1":
[ [
1 1
], ],
"C2" : "C2":
[ [
4 4
] ]
}, },
"id" : 5, "id": 5,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 1, "id": 1,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
1 1
], ],
"name" : "C1", "name": "C1",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 5, "scope": 5,
"src" : "0:14:1" "src": "0:14:1"
}, },
{ {
"baseContracts" : "baseContracts":
[ [
{ {
"arguments" : null, "arguments": null,
"baseName" : "baseName":
{ {
"contractScope" : null, "contractScope": null,
"id" : 2, "id": 2,
"name" : "C1", "name": "C1",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 1, "referencedDeclaration": 1,
"src" : "30:2:1", "src": "30:2:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_C1_$1", "typeIdentifier": "t_contract$_C1_$1",
"typeString" : "contract C1" "typeString": "contract C1"
} }
}, },
"id" : 3, "id": 3,
"nodeType" : "InheritanceSpecifier", "nodeType": "InheritanceSpecifier",
"src" : "30:2:1" "src": "30:2:1"
} }
], ],
"contractDependencies" : "contractDependencies":
[ [
1 1
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 4, "id": 4,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
4, 4,
1 1
], ],
"name" : "C2", "name": "C2",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 5, "scope": 5,
"src" : "15:20:1" "src": "15:20:1"
} }
], ],
"src" : "0:36:1" "src": "0:36:1"
} }

View File

@ -1,105 +1,105 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C1" : "C1":
[ [
1 1
], ],
"C2" : "C2":
[ [
4 4
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
1 1
], ],
"name" : "C1", "name": "C1",
"nodes" : "nodes":
[ [
null null
], ],
"scope" : 5 "scope": 5
}, },
"id" : 1, "id": 1,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:14:1" "src": "0:14:1"
}, },
{ {
"attributes" : "attributes":
{ {
"contractDependencies" : "contractDependencies":
[ [
1 1
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
4, 4,
1 1
], ],
"name" : "C2", "name": "C2",
"nodes" : "nodes":
[ [
null null
], ],
"scope" : 5 "scope": 5
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"arguments" : null "arguments": null
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "C1", "name": "C1",
"referencedDeclaration" : 1, "referencedDeclaration": 1,
"type" : "contract C1" "type": "contract C1"
}, },
"id" : 2, "id": 2,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "30:2:1" "src": "30:2:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "InheritanceSpecifier", "name": "InheritanceSpecifier",
"src" : "30:2:1" "src": "30:2:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "15:20:1" "src": "15:20:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:36:1" "src": "0:36:1"
} }

View File

@ -1,177 +1,177 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"c" : "c":
[ [
11 11
] ]
}, },
"id" : 12, "id": 12,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 11, "id": 11,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
11 11
], ],
"name" : "c", "name": "c",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 9, "id": 9,
"nodeType" : "Block", "nodeType": "Block",
"src" : "33:19:1", "src": "33:19:1",
"statements" : "statements":
[ [
{ {
"assignments" : "assignments":
[ [
4 4
], ],
"declarations" : "declarations":
[ [
{ {
"constant" : false, "constant": false,
"id" : 4, "id": 4,
"name" : "a", "name": "a",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 9, "scope": 9,
"src" : "35:6:1", "src": "35:6:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
}, },
"typeName" : "typeName":
{ {
"id" : 3, "id": 3,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "35:4:1", "src": "35:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"id" : 8, "id": 8,
"initialValue" : "initialValue":
{ {
"argumentTypes" : null, "argumentTypes": null,
"commonType" : "commonType":
{ {
"typeIdentifier" : "t_rational_5_by_1", "typeIdentifier": "t_rational_5_by_1",
"typeString" : "int_const 5" "typeString": "int_const 5"
}, },
"id" : 7, "id": 7,
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"lValueRequested" : false, "lValueRequested": false,
"leftExpression" : "leftExpression":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexValue" : "32", "hexValue": "32",
"id" : 5, "id": 5,
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"kind" : "number", "kind": "number",
"lValueRequested" : false, "lValueRequested": false,
"nodeType" : "Literal", "nodeType": "Literal",
"src" : "44:1:1", "src": "44:1:1",
"subdenomination" : null, "subdenomination": null,
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_rational_2_by_1", "typeIdentifier": "t_rational_2_by_1",
"typeString" : "int_const 2" "typeString": "int_const 2"
}, },
"value" : "2" "value": "2"
}, },
"nodeType" : "BinaryOperation", "nodeType": "BinaryOperation",
"operator" : "+", "operator": "+",
"rightExpression" : "rightExpression":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexValue" : "33", "hexValue": "33",
"id" : 6, "id": 6,
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"kind" : "number", "kind": "number",
"lValueRequested" : false, "lValueRequested": false,
"nodeType" : "Literal", "nodeType": "Literal",
"src" : "48:1:1", "src": "48:1:1",
"subdenomination" : null, "subdenomination": null,
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_rational_3_by_1", "typeIdentifier": "t_rational_3_by_1",
"typeString" : "int_const 3" "typeString": "int_const 3"
}, },
"value" : "3" "value": "3"
}, },
"src" : "44:5:1", "src": "44:5:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_rational_5_by_1", "typeIdentifier": "t_rational_5_by_1",
"typeString" : "int_const 5" "typeString": "int_const 5"
} }
}, },
"nodeType" : "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src" : "35:14:1" "src": "35:14:1"
} }
] ]
}, },
"documentation" : null, "documentation": null,
"id" : 10, "id": 10,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "f", "name": "f",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "23:2:1" "src": "23:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 2, "id": 2,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "33:0:1" "src": "33:0:1"
}, },
"scope" : 11, "scope": 11,
"src" : "13:39:1", "src": "13:39:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 12, "scope": 12,
"src" : "0:54:1" "src": "0:54:1"
} }
], ],
"src" : "0:55:1" "src": "0:55:1"
} }

View File

@ -1,210 +1,210 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"c" : "c":
[ [
11 11
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
11 11
], ],
"name" : "c", "name": "c",
"scope" : 12 "scope": 12
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "f", "name": "f",
"overrides" : null, "overrides": null,
"scope" : 11, "scope": 11,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "23:2:1" "src": "23:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 2, "id": 2,
"name" : "ParameterList", "name": "ParameterList",
"src" : "33:0:1" "src": "33:0:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"assignments" : "assignments":
[ [
4 4
] ]
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "a", "name": "a",
"overrides" : null, "overrides": null,
"scope" : 9, "scope": 9,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "uint256", "type": "uint256",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 3, "id": 3,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "35:4:1" "src": "35:4:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "35:6:1" "src": "35:6:1"
}, },
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"commonType" : "commonType":
{ {
"typeIdentifier" : "t_rational_5_by_1", "typeIdentifier": "t_rational_5_by_1",
"typeString" : "int_const 5" "typeString": "int_const 5"
}, },
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"lValueRequested" : false, "lValueRequested": false,
"operator" : "+", "operator": "+",
"type" : "int_const 5" "type": "int_const 5"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexvalue" : "32", "hexvalue": "32",
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"lValueRequested" : false, "lValueRequested": false,
"subdenomination" : null, "subdenomination": null,
"token" : "number", "token": "number",
"type" : "int_const 2", "type": "int_const 2",
"value" : "2" "value": "2"
}, },
"id" : 5, "id": 5,
"name" : "Literal", "name": "Literal",
"src" : "44:1:1" "src": "44:1:1"
}, },
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexvalue" : "33", "hexvalue": "33",
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"lValueRequested" : false, "lValueRequested": false,
"subdenomination" : null, "subdenomination": null,
"token" : "number", "token": "number",
"type" : "int_const 3", "type": "int_const 3",
"value" : "3" "value": "3"
}, },
"id" : 6, "id": 6,
"name" : "Literal", "name": "Literal",
"src" : "48:1:1" "src": "48:1:1"
} }
], ],
"id" : 7, "id": 7,
"name" : "BinaryOperation", "name": "BinaryOperation",
"src" : "44:5:1" "src": "44:5:1"
} }
], ],
"id" : 8, "id": 8,
"name" : "VariableDeclarationStatement", "name": "VariableDeclarationStatement",
"src" : "35:14:1" "src": "35:14:1"
} }
], ],
"id" : 9, "id": 9,
"name" : "Block", "name": "Block",
"src" : "33:19:1" "src": "33:19:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "13:39:1" "src": "13:39:1"
} }
], ],
"id" : 11, "id": 11,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:54:1" "src": "0:54:1"
} }
], ],
"id" : 12, "id": 12,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:55:1" "src": "0:55:1"
} }

View File

@ -1,184 +1,184 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"c" : "c":
[ [
15 15
] ]
}, },
"id" : 16, "id": 16,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 15, "id": 15,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
15 15
], ],
"name" : "c", "name": "c",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"constant" : false, "constant": false,
"id" : 3, "id": 3,
"name" : "a", "name": "a",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 15, "scope": 15,
"src" : "13:8:1", "src": "13:8:1",
"stateVariable" : true, "stateVariable": true,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage", "typeIdentifier": "t_array$_t_uint256_$dyn_storage",
"typeString" : "uint256[]" "typeString": "uint256[]"
}, },
"typeName" : "typeName":
{ {
"baseType" : "baseType":
{ {
"id" : 1, "id": 1,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "13:4:1", "src": "13:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"id" : 2, "id": 2,
"length" : null, "length": null,
"nodeType" : "ArrayTypeName", "nodeType": "ArrayTypeName",
"src" : "13:6:1", "src": "13:6:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage_ptr", "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString" : "uint256[]" "typeString": "uint256[]"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
{ {
"body" : "body":
{ {
"id" : 13, "id": 13,
"nodeType" : "Block", "nodeType": "Block",
"src" : "43:25:1", "src": "43:25:1",
"statements" : "statements":
[ [
{ {
"assignments" : "assignments":
[ [
10 10
], ],
"declarations" : "declarations":
[ [
{ {
"constant" : false, "constant": false,
"id" : 10, "id": 10,
"name" : "b", "name": "b",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 13, "scope": 13,
"src" : "45:16:1", "src": "45:16:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "storage", "storageLocation": "storage",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage_ptr", "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString" : "uint256[]" "typeString": "uint256[]"
}, },
"typeName" : "typeName":
{ {
"baseType" : "baseType":
{ {
"id" : 8, "id": 8,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "45:4:1", "src": "45:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"id" : 9, "id": 9,
"length" : null, "length": null,
"nodeType" : "ArrayTypeName", "nodeType": "ArrayTypeName",
"src" : "45:6:1", "src": "45:6:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage_ptr", "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString" : "uint256[]" "typeString": "uint256[]"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"id" : 12, "id": 12,
"initialValue" : "initialValue":
{ {
"argumentTypes" : null, "argumentTypes": null,
"id" : 11, "id": 11,
"name" : "a", "name": "a",
"nodeType" : "Identifier", "nodeType": "Identifier",
"overloadedDeclarations" : [], "overloadedDeclarations": [],
"referencedDeclaration" : 3, "referencedDeclaration": 3,
"src" : "64:1:1", "src": "64:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage", "typeIdentifier": "t_array$_t_uint256_$dyn_storage",
"typeString" : "uint256[] storage ref" "typeString": "uint256[] storage ref"
} }
}, },
"nodeType" : "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src" : "45:20:1" "src": "45:20:1"
} }
] ]
}, },
"documentation" : null, "documentation": null,
"id" : 14, "id": 14,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "f", "name": "f",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 4, "id": 4,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "33:2:1" "src": "33:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 5, "id": 5,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "43:0:1" "src": "43:0:1"
}, },
"scope" : 15, "scope": 15,
"src" : "23:45:1", "src": "23:45:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 16, "scope": 16,
"src" : "0:70:1" "src": "0:70:1"
} }
], ],
"src" : "0:71:1" "src": "0:71:1"
} }

View File

@ -1,223 +1,223 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"c" : "c":
[ [
15 15
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
15 15
], ],
"name" : "c", "name": "c",
"scope" : 16 "scope": 16
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "a", "name": "a",
"overrides" : null, "overrides": null,
"scope" : 15, "scope": 15,
"stateVariable" : true, "stateVariable": true,
"storageLocation" : "default", "storageLocation": "default",
"type" : "uint256[]", "type": "uint256[]",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"length" : null, "length": null,
"type" : "uint256[]" "type": "uint256[]"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 1, "id": 1,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "13:4:1" "src": "13:4:1"
} }
], ],
"id" : 2, "id": 2,
"name" : "ArrayTypeName", "name": "ArrayTypeName",
"src" : "13:6:1" "src": "13:6:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "13:8:1" "src": "13:8:1"
}, },
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "f", "name": "f",
"overrides" : null, "overrides": null,
"scope" : 15, "scope": 15,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 4, "id": 4,
"name" : "ParameterList", "name": "ParameterList",
"src" : "33:2:1" "src": "33:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 5, "id": 5,
"name" : "ParameterList", "name": "ParameterList",
"src" : "43:0:1" "src": "43:0:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"assignments" : "assignments":
[ [
10 10
] ]
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "b", "name": "b",
"overrides" : null, "overrides": null,
"scope" : 13, "scope": 13,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "storage", "storageLocation": "storage",
"type" : "uint256[]", "type": "uint256[]",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"length" : null, "length": null,
"type" : "uint256[]" "type": "uint256[]"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 8, "id": 8,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "45:4:1" "src": "45:4:1"
} }
], ],
"id" : 9, "id": 9,
"name" : "ArrayTypeName", "name": "ArrayTypeName",
"src" : "45:6:1" "src": "45:6:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "45:16:1" "src": "45:16:1"
}, },
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"overloadedDeclarations" : "overloadedDeclarations":
[ [
null null
], ],
"referencedDeclaration" : 3, "referencedDeclaration": 3,
"type" : "uint256[] storage ref", "type": "uint256[] storage ref",
"value" : "a" "value": "a"
}, },
"id" : 11, "id": 11,
"name" : "Identifier", "name": "Identifier",
"src" : "64:1:1" "src": "64:1:1"
} }
], ],
"id" : 12, "id": 12,
"name" : "VariableDeclarationStatement", "name": "VariableDeclarationStatement",
"src" : "45:20:1" "src": "45:20:1"
} }
], ],
"id" : 13, "id": 13,
"name" : "Block", "name": "Block",
"src" : "43:25:1" "src": "43:25:1"
} }
], ],
"id" : 14, "id": 14,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "23:45:1" "src": "23:45:1"
} }
], ],
"id" : 15, "id": 15,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:70:1" "src": "0:70:1"
} }
], ],
"id" : 16, "id": 16,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:71:1" "src": "0:71:1"
} }

View File

@ -1,176 +1,176 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
14 14
] ]
}, },
"id" : 15, "id": 15,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 14, "id": 14,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
14 14
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 5, "id": 5,
"nodeType" : "Block", "nodeType": "Block",
"src" : "32:6:1", "src": "32:6:1",
"statements" : "statements":
[ [
{ {
"id" : 4, "id": 4,
"nodeType" : "PlaceholderStatement", "nodeType": "PlaceholderStatement",
"src" : "34:1:1" "src": "34:1:1"
} }
] ]
}, },
"documentation" : null, "documentation": null,
"id" : 6, "id": 6,
"name" : "M", "name": "M",
"nodeType" : "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters" : "parameters":
{ {
"id" : 3, "id": 3,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : "parameters":
[ [
{ {
"constant" : false, "constant": false,
"id" : 2, "id": 2,
"name" : "i", "name": "i",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 6, "scope": 6,
"src" : "24:6:1", "src": "24:6:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
}, },
"typeName" : "typeName":
{ {
"id" : 1, "id": 1,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "24:4:1", "src": "24:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"src" : "23:8:1" "src": "23:8:1"
}, },
"src" : "13:25:1", "src": "13:25:1",
"visibility" : "internal" "visibility": "internal"
}, },
{ {
"body" : "body":
{ {
"id" : 12, "id": 12,
"nodeType" : "Block", "nodeType": "Block",
"src" : "64:2:1", "src": "64:2:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 13, "id": 13,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
{ {
"arguments" : "arguments":
[ [
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexValue" : "31", "hexValue": "31",
"id" : 9, "id": 9,
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"kind" : "number", "kind": "number",
"lValueRequested" : false, "lValueRequested": false,
"nodeType" : "Literal", "nodeType": "Literal",
"src" : "54:1:1", "src": "54:1:1",
"subdenomination" : null, "subdenomination": null,
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_rational_1_by_1", "typeIdentifier": "t_rational_1_by_1",
"typeString" : "int_const 1" "typeString": "int_const 1"
}, },
"value" : "1" "value": "1"
} }
], ],
"id" : 10, "id": 10,
"modifierName" : "modifierName":
{ {
"argumentTypes" : null, "argumentTypes": null,
"id" : 8, "id": 8,
"name" : "M", "name": "M",
"nodeType" : "Identifier", "nodeType": "Identifier",
"overloadedDeclarations" : [], "overloadedDeclarations": [],
"referencedDeclaration" : 6, "referencedDeclaration": 6,
"src" : "52:1:1", "src": "52:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_modifier$_t_uint256_$", "typeIdentifier": "t_modifier$_t_uint256_$",
"typeString" : "modifier (uint256)" "typeString": "modifier (uint256)"
} }
}, },
"nodeType" : "ModifierInvocation", "nodeType": "ModifierInvocation",
"src" : "52:4:1" "src": "52:4:1"
} }
], ],
"name" : "F", "name": "F",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 7, "id": 7,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "49:2:1" "src": "49:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 11, "id": 11,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "64:0:1" "src": "64:0:1"
}, },
"scope" : 14, "scope": 14,
"src" : "39:27:1", "src": "39:27:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 15, "scope": 15,
"src" : "0:68:1" "src": "0:68:1"
} }
], ],
"src" : "0:69:1" "src": "0:69:1"
} }

View File

@ -1,214 +1,214 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
14 14
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
14 14
], ],
"name" : "C", "name": "C",
"scope" : 15 "scope": 15
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"name" : "M", "name": "M",
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "i", "name": "i",
"overrides" : null, "overrides": null,
"scope" : 6, "scope": 6,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "uint256", "type": "uint256",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 1, "id": 1,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "24:4:1" "src": "24:4:1"
} }
], ],
"id" : 2, "id": 2,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "24:6:1" "src": "24:6:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "ParameterList", "name": "ParameterList",
"src" : "23:8:1" "src": "23:8:1"
}, },
{ {
"children" : "children":
[ [
{ {
"id" : 4, "id": 4,
"name" : "PlaceholderStatement", "name": "PlaceholderStatement",
"src" : "34:1:1" "src": "34:1:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "Block", "name": "Block",
"src" : "32:6:1" "src": "32:6:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "ModifierDefinition", "name": "ModifierDefinition",
"src" : "13:25:1" "src": "13:25:1"
}, },
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"name" : "F", "name": "F",
"overrides" : null, "overrides": null,
"scope" : 14, "scope": 14,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 7, "id": 7,
"name" : "ParameterList", "name": "ParameterList",
"src" : "49:2:1" "src": "49:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 11, "id": 11,
"name" : "ParameterList", "name": "ParameterList",
"src" : "64:0:1" "src": "64:0:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"overloadedDeclarations" : "overloadedDeclarations":
[ [
null null
], ],
"referencedDeclaration" : 6, "referencedDeclaration": 6,
"type" : "modifier (uint256)", "type": "modifier (uint256)",
"value" : "M" "value": "M"
}, },
"id" : 8, "id": 8,
"name" : "Identifier", "name": "Identifier",
"src" : "52:1:1" "src": "52:1:1"
}, },
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexvalue" : "31", "hexvalue": "31",
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"lValueRequested" : false, "lValueRequested": false,
"subdenomination" : null, "subdenomination": null,
"token" : "number", "token": "number",
"type" : "int_const 1", "type": "int_const 1",
"value" : "1" "value": "1"
}, },
"id" : 9, "id": 9,
"name" : "Literal", "name": "Literal",
"src" : "54:1:1" "src": "54:1:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "ModifierInvocation", "name": "ModifierInvocation",
"src" : "52:4:1" "src": "52:4:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 12, "id": 12,
"name" : "Block", "name": "Block",
"src" : "64:2:1" "src": "64:2:1"
} }
], ],
"id" : 13, "id": 13,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "39:27:1" "src": "39:27:1"
} }
], ],
"id" : 14, "id": 14,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:68:1" "src": "0:68:1"
} }
], ],
"id" : 15, "id": 15,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:69:1" "src": "0:69:1"
} }

View File

@ -1,176 +1,176 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
14 14
] ]
}, },
"id" : 15, "id": 15,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 14, "id": 14,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
14 14
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 5, "id": 5,
"nodeType" : "Block", "nodeType": "Block",
"src" : "32:6:1", "src": "32:6:1",
"statements" : "statements":
[ [
{ {
"id" : 4, "id": 4,
"nodeType" : "PlaceholderStatement", "nodeType": "PlaceholderStatement",
"src" : "34:1:1" "src": "34:1:1"
} }
] ]
}, },
"documentation" : null, "documentation": null,
"id" : 6, "id": 6,
"name" : "M", "name": "M",
"nodeType" : "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters" : "parameters":
{ {
"id" : 3, "id": 3,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : "parameters":
[ [
{ {
"constant" : false, "constant": false,
"id" : 2, "id": 2,
"name" : "i", "name": "i",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 6, "scope": 6,
"src" : "24:6:1", "src": "24:6:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
}, },
"typeName" : "typeName":
{ {
"id" : 1, "id": 1,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "24:4:1", "src": "24:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"src" : "23:8:1" "src": "23:8:1"
}, },
"src" : "13:25:1", "src": "13:25:1",
"visibility" : "internal" "visibility": "internal"
}, },
{ {
"body" : "body":
{ {
"id" : 12, "id": 12,
"nodeType" : "Block", "nodeType": "Block",
"src" : "64:2:1", "src": "64:2:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 13, "id": 13,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
{ {
"arguments" : "arguments":
[ [
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexValue" : "31", "hexValue": "31",
"id" : 9, "id": 9,
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"kind" : "number", "kind": "number",
"lValueRequested" : false, "lValueRequested": false,
"nodeType" : "Literal", "nodeType": "Literal",
"src" : "54:1:1", "src": "54:1:1",
"subdenomination" : null, "subdenomination": null,
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_rational_1_by_1", "typeIdentifier": "t_rational_1_by_1",
"typeString" : "int_const 1" "typeString": "int_const 1"
}, },
"value" : "1" "value": "1"
} }
], ],
"id" : 10, "id": 10,
"modifierName" : "modifierName":
{ {
"argumentTypes" : null, "argumentTypes": null,
"id" : 8, "id": 8,
"name" : "M", "name": "M",
"nodeType" : "Identifier", "nodeType": "Identifier",
"overloadedDeclarations" : [], "overloadedDeclarations": [],
"referencedDeclaration" : 6, "referencedDeclaration": 6,
"src" : "52:1:1", "src": "52:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_modifier$_t_uint256_$", "typeIdentifier": "t_modifier$_t_uint256_$",
"typeString" : "modifier (uint256)" "typeString": "modifier (uint256)"
} }
}, },
"nodeType" : "ModifierInvocation", "nodeType": "ModifierInvocation",
"src" : "52:4:1" "src": "52:4:1"
} }
], ],
"name" : "F", "name": "F",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 7, "id": 7,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "49:2:1" "src": "49:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 11, "id": 11,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "64:0:1" "src": "64:0:1"
}, },
"scope" : 14, "scope": 14,
"src" : "39:27:1", "src": "39:27:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 15, "scope": 15,
"src" : "0:68:1" "src": "0:68:1"
} }
], ],
"src" : "0:69:1" "src": "0:69:1"
} }

View File

@ -1,214 +1,214 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
14 14
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
14 14
], ],
"name" : "C", "name": "C",
"scope" : 15 "scope": 15
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"name" : "M", "name": "M",
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "i", "name": "i",
"overrides" : null, "overrides": null,
"scope" : 6, "scope": 6,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "uint256", "type": "uint256",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 1, "id": 1,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "24:4:1" "src": "24:4:1"
} }
], ],
"id" : 2, "id": 2,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "24:6:1" "src": "24:6:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "ParameterList", "name": "ParameterList",
"src" : "23:8:1" "src": "23:8:1"
}, },
{ {
"children" : "children":
[ [
{ {
"id" : 4, "id": 4,
"name" : "PlaceholderStatement", "name": "PlaceholderStatement",
"src" : "34:1:1" "src": "34:1:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "Block", "name": "Block",
"src" : "32:6:1" "src": "32:6:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "ModifierDefinition", "name": "ModifierDefinition",
"src" : "13:25:1" "src": "13:25:1"
}, },
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"name" : "F", "name": "F",
"overrides" : null, "overrides": null,
"scope" : 14, "scope": 14,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 7, "id": 7,
"name" : "ParameterList", "name": "ParameterList",
"src" : "49:2:1" "src": "49:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 11, "id": 11,
"name" : "ParameterList", "name": "ParameterList",
"src" : "64:0:1" "src": "64:0:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"overloadedDeclarations" : "overloadedDeclarations":
[ [
null null
], ],
"referencedDeclaration" : 6, "referencedDeclaration": 6,
"type" : "modifier (uint256)", "type": "modifier (uint256)",
"value" : "M" "value": "M"
}, },
"id" : 8, "id": 8,
"name" : "Identifier", "name": "Identifier",
"src" : "52:1:1" "src": "52:1:1"
}, },
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexvalue" : "31", "hexvalue": "31",
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"lValueRequested" : false, "lValueRequested": false,
"subdenomination" : null, "subdenomination": null,
"token" : "number", "token": "number",
"type" : "int_const 1", "type": "int_const 1",
"value" : "1" "value": "1"
}, },
"id" : 9, "id": 9,
"name" : "Literal", "name": "Literal",
"src" : "54:1:1" "src": "54:1:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "ModifierInvocation", "name": "ModifierInvocation",
"src" : "52:4:1" "src": "52:4:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 12, "id": 12,
"name" : "Block", "name": "Block",
"src" : "64:2:1" "src": "64:2:1"
} }
], ],
"id" : 13, "id": 13,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "39:27:1" "src": "39:27:1"
} }
], ],
"id" : 14, "id": 14,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:68:1" "src": "0:68:1"
} }
], ],
"id" : 15, "id": 15,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:69:1" "src": "0:69:1"
} }

View File

@ -1,124 +1,124 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
8 8
] ]
}, },
"id" : 9, "id": 9,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 8, "id": 8,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
8 8
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 6, "id": 6,
"nodeType" : "Block", "nodeType": "Block",
"src" : "33:20:1", "src": "33:20:1",
"statements" : "statements":
[ [
{ {
"assignments" : "assignments":
[ [
3 3
], ],
"declarations" : "declarations":
[ [
{ {
"constant" : false, "constant": false,
"id" : 3, "id": 3,
"name" : "x", "name": "x",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 6, "scope": 6,
"src" : "35:5:1", "src": "35:5:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_string_memory_ptr", "typeIdentifier": "t_string_memory_ptr",
"typeString" : "string" "typeString": "string"
}, },
"typeName" : null, "typeName": null,
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"id" : 5, "id": 5,
"initialValue" : "initialValue":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexValue" : "ff", "hexValue": "ff",
"id" : 4, "id": 4,
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"kind" : "string", "kind": "string",
"lValueRequested" : false, "lValueRequested": false,
"nodeType" : "Literal", "nodeType": "Literal",
"src" : "43:7:1", "src": "43:7:1",
"subdenomination" : null, "subdenomination": null,
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9", "typeIdentifier": "t_stringliteral_8b1a944cf13a9a1c08facb2c9e98623ef3254d2ddb48113885c3e8e97fec8db9",
"typeString" : "literal_string (contains invalid UTF-8 sequence at position 0)" "typeString": "literal_string (contains invalid UTF-8 sequence at position 0)"
}, },
"value" : null "value": null
}, },
"nodeType" : "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src" : "35:15:1" "src": "35:15:1"
} }
] ]
}, },
"documentation" : null, "documentation": null,
"id" : 7, "id": 7,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "f", "name": "f",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "23:2:1" "src": "23:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 2, "id": 2,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "33:0:1" "src": "33:0:1"
}, },
"scope" : 8, "scope": 8,
"src" : "13:40:1", "src": "13:40:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 9, "scope": 9,
"src" : "0:55:1" "src": "0:55:1"
} }
], ],
"src" : "0:56:1" "src": "0:56:1"
} }

View File

@ -1,158 +1,158 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
8 8
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
8 8
], ],
"name" : "C", "name": "C",
"scope" : 9 "scope": 9
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "f", "name": "f",
"overrides" : null, "overrides": null,
"scope" : 8, "scope": 8,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "23:2:1" "src": "23:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 2, "id": 2,
"name" : "ParameterList", "name": "ParameterList",
"src" : "33:0:1" "src": "33:0:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"assignments" : "assignments":
[ [
3 3
] ]
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "x", "name": "x",
"overrides" : null, "overrides": null,
"scope" : 6, "scope": 6,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "string", "type": "string",
"typeName" : null, "typeName": null,
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : [], "children": [],
"id" : 3, "id": 3,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "35:5:1" "src": "35:5:1"
}, },
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexvalue" : "ff", "hexvalue": "ff",
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"lValueRequested" : false, "lValueRequested": false,
"subdenomination" : null, "subdenomination": null,
"token" : "string", "token": "string",
"type" : "literal_string (contains invalid UTF-8 sequence at position 0)", "type": "literal_string (contains invalid UTF-8 sequence at position 0)",
"value" : null "value": null
}, },
"id" : 4, "id": 4,
"name" : "Literal", "name": "Literal",
"src" : "43:7:1" "src": "43:7:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "VariableDeclarationStatement", "name": "VariableDeclarationStatement",
"src" : "35:15:1" "src": "35:15:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "Block", "name": "Block",
"src" : "33:20:1" "src": "33:20:1"
} }
], ],
"id" : 7, "id": 7,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "13:40:1" "src": "13:40:1"
} }
], ],
"id" : 8, "id": 8,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:55:1" "src": "0:55:1"
} }
], ],
"id" : 9, "id": 9,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:56:1" "src": "0:56:1"
} }

View File

@ -1,337 +1,337 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"A" : "A":
[ [
5 5
], ],
"B" : "B":
[ [
16 16
], ],
"C" : "C":
[ [
31 31
] ]
}, },
"id" : 32, "id": 32,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 5, "id": 5,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "A", "name": "A",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 3, "id": 3,
"nodeType" : "Block", "nodeType": "Block",
"src" : "36:2:1", "src": "36:2:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 4, "id": 4,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "faa", "name": "faa",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "26:2:1" "src": "26:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 2, "id": 2,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "36:0:1" "src": "36:0:1"
}, },
"scope" : 5, "scope": 5,
"src" : "14:24:1", "src": "14:24:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 32, "scope": 32,
"src" : "0:40:1" "src": "0:40:1"
}, },
{ {
"baseContracts" : "baseContracts":
[ [
{ {
"arguments" : null, "arguments": null,
"baseName" : "baseName":
{ {
"contractScope" : null, "contractScope": null,
"id" : 6, "id": 6,
"name" : "A", "name": "A",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 5, "referencedDeclaration": 5,
"src" : "55:1:1", "src": "55:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_A_$5", "typeIdentifier": "t_contract$_A_$5",
"typeString" : "contract A" "typeString": "contract A"
} }
}, },
"id" : 7, "id": 7,
"nodeType" : "InheritanceSpecifier", "nodeType": "InheritanceSpecifier",
"src" : "55:1:1" "src": "55:1:1"
} }
], ],
"contractDependencies" : "contractDependencies":
[ [
5 5
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : false, "fullyImplemented": false,
"id" : 16, "id": 16,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
16, 16,
5 5
], ],
"name" : "B", "name": "B",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : null, "body": null,
"documentation" : null, "documentation": null,
"id" : 10, "id": 10,
"implemented" : false, "implemented": false,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "foo", "name": "foo",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 8, "id": 8,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "72:2:1" "src": "72:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 9, "id": 9,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "81:0:1" "src": "81:0:1"
}, },
"scope" : 16, "scope": 16,
"src" : "60:22:1", "src": "60:22:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
{ {
"body" : "body":
{ {
"id" : 14, "id": 14,
"nodeType" : "Block", "nodeType": "Block",
"src" : "115:2:1", "src": "115:2:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 15, "id": 15,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "faa", "name": "faa",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : [], "overrides": [],
"parameters" : "parameters":
{ {
"id" : 11, "id": 11,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "96:2:1" "src": "96:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 13, "id": 13,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "115:0:1" "src": "115:0:1"
}, },
"scope" : 16, "scope": 16,
"src" : "84:33:1", "src": "84:33:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : 4, "superFunction": 4,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 32, "scope": 32,
"src" : "41:78:1" "src": "41:78:1"
}, },
{ {
"baseContracts" : "baseContracts":
[ [
{ {
"arguments" : null, "arguments": null,
"baseName" : "baseName":
{ {
"contractScope" : null, "contractScope": null,
"id" : 17, "id": 17,
"name" : "B", "name": "B",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 16, "referencedDeclaration": 16,
"src" : "134:1:1", "src": "134:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_B_$16", "typeIdentifier": "t_contract$_B_$16",
"typeString" : "contract B" "typeString": "contract B"
} }
}, },
"id" : 18, "id": 18,
"nodeType" : "InheritanceSpecifier", "nodeType": "InheritanceSpecifier",
"src" : "134:1:1" "src": "134:1:1"
} }
], ],
"contractDependencies" : "contractDependencies":
[ [
5, 5,
16 16
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 31, "id": 31,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
31, 31,
16, 16,
5 5
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 22, "id": 22,
"nodeType" : "Block", "nodeType": "Block",
"src" : "170:3:1", "src": "170:3:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 23, "id": 23,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "foo", "name": "foo",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : [], "overrides": [],
"parameters" : "parameters":
{ {
"id" : 19, "id": 19,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "151:2:1" "src": "151:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 21, "id": 21,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "170:0:1" "src": "170:0:1"
}, },
"scope" : 31, "scope": 31,
"src" : "139:34:1", "src": "139:34:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : 10, "superFunction": 10,
"visibility" : "public" "visibility": "public"
}, },
{ {
"body" : "body":
{ {
"id" : 29, "id": 29,
"nodeType" : "Block", "nodeType": "Block",
"src" : "212:2:1", "src": "212:2:1",
"statements" : [] "statements": []
}, },
"documentation" : null, "documentation": null,
"id" : 30, "id": 30,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "faa", "name": "faa",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : "overrides":
[ [
{ {
"contractScope" : null, "contractScope": null,
"id" : 25, "id": 25,
"name" : "A", "name": "A",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 5, "referencedDeclaration": 5,
"src" : "206:1:1", "src": "206:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_A_$5", "typeIdentifier": "t_contract$_A_$5",
"typeString" : "contract A" "typeString": "contract A"
} }
}, },
{ {
"contractScope" : null, "contractScope": null,
"id" : 26, "id": 26,
"name" : "B", "name": "B",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 16, "referencedDeclaration": 16,
"src" : "209:1:1", "src": "209:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_B_$16", "typeIdentifier": "t_contract$_B_$16",
"typeString" : "contract B" "typeString": "contract B"
} }
} }
], ],
"parameters" : "parameters":
{ {
"id" : 24, "id": 24,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "187:2:1" "src": "187:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 28, "id": 28,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "212:0:1" "src": "212:0:1"
}, },
"scope" : 31, "scope": 31,
"src" : "175:39:1", "src": "175:39:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : 15, "superFunction": 15,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 32, "scope": 32,
"src" : "120:96:1" "src": "120:96:1"
} }
], ],
"src" : "0:217:1" "src": "0:217:1"
} }

View File

@ -1,492 +1,492 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"A" : "A":
[ [
5 5
], ],
"B" : "B":
[ [
16 16
], ],
"C" : "C":
[ [
31 31
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "A", "name": "A",
"scope" : 32 "scope": 32
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "faa", "name": "faa",
"overrides" : null, "overrides": null,
"scope" : 5, "scope": 5,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "26:2:1" "src": "26:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 2, "id": 2,
"name" : "ParameterList", "name": "ParameterList",
"src" : "36:0:1" "src": "36:0:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 3, "id": 3,
"name" : "Block", "name": "Block",
"src" : "36:2:1" "src": "36:2:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "14:24:1" "src": "14:24:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:40:1" "src": "0:40:1"
}, },
{ {
"attributes" : "attributes":
{ {
"contractDependencies" : "contractDependencies":
[ [
5 5
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : false, "fullyImplemented": false,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
16, 16,
5 5
], ],
"name" : "B", "name": "B",
"scope" : 32 "scope": 32
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"arguments" : null "arguments": null
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "A", "name": "A",
"referencedDeclaration" : 5, "referencedDeclaration": 5,
"type" : "contract A" "type": "contract A"
}, },
"id" : 6, "id": 6,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "55:1:1" "src": "55:1:1"
} }
], ],
"id" : 7, "id": 7,
"name" : "InheritanceSpecifier", "name": "InheritanceSpecifier",
"src" : "55:1:1" "src": "55:1:1"
}, },
{ {
"attributes" : "attributes":
{ {
"body" : null, "body": null,
"documentation" : null, "documentation": null,
"implemented" : false, "implemented": false,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "foo", "name": "foo",
"overrides" : null, "overrides": null,
"scope" : 16, "scope": 16,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 8, "id": 8,
"name" : "ParameterList", "name": "ParameterList",
"src" : "72:2:1" "src": "72:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 9, "id": 9,
"name" : "ParameterList", "name": "ParameterList",
"src" : "81:0:1" "src": "81:0:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "60:22:1" "src": "60:22:1"
}, },
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "faa", "name": "faa",
"overrides" : "overrides":
[ [
null null
], ],
"scope" : 16, "scope": 16,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : 4, "superFunction": 4,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 11, "id": 11,
"name" : "ParameterList", "name": "ParameterList",
"src" : "96:2:1" "src": "96:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 13, "id": 13,
"name" : "ParameterList", "name": "ParameterList",
"src" : "115:0:1" "src": "115:0:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 14, "id": 14,
"name" : "Block", "name": "Block",
"src" : "115:2:1" "src": "115:2:1"
} }
], ],
"id" : 15, "id": 15,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "84:33:1" "src": "84:33:1"
} }
], ],
"id" : 16, "id": 16,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "41:78:1" "src": "41:78:1"
}, },
{ {
"attributes" : "attributes":
{ {
"contractDependencies" : "contractDependencies":
[ [
5, 5,
16 16
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
31, 31,
16, 16,
5 5
], ],
"name" : "C", "name": "C",
"scope" : 32 "scope": 32
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"arguments" : null "arguments": null
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "B", "name": "B",
"referencedDeclaration" : 16, "referencedDeclaration": 16,
"type" : "contract B" "type": "contract B"
}, },
"id" : 17, "id": 17,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "134:1:1" "src": "134:1:1"
} }
], ],
"id" : 18, "id": 18,
"name" : "InheritanceSpecifier", "name": "InheritanceSpecifier",
"src" : "134:1:1" "src": "134:1:1"
}, },
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "foo", "name": "foo",
"overrides" : "overrides":
[ [
null null
], ],
"scope" : 31, "scope": 31,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : 10, "superFunction": 10,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 19, "id": 19,
"name" : "ParameterList", "name": "ParameterList",
"src" : "151:2:1" "src": "151:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 21, "id": 21,
"name" : "ParameterList", "name": "ParameterList",
"src" : "170:0:1" "src": "170:0:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 22, "id": 22,
"name" : "Block", "name": "Block",
"src" : "170:3:1" "src": "170:3:1"
} }
], ],
"id" : 23, "id": 23,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "139:34:1" "src": "139:34:1"
}, },
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "faa", "name": "faa",
"scope" : 31, "scope": 31,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : 15, "superFunction": 15,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "A", "name": "A",
"referencedDeclaration" : 5, "referencedDeclaration": 5,
"type" : "contract A" "type": "contract A"
}, },
"id" : 25, "id": 25,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "206:1:1" "src": "206:1:1"
}, },
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "B", "name": "B",
"referencedDeclaration" : 16, "referencedDeclaration": 16,
"type" : "contract B" "type": "contract B"
}, },
"id" : 26, "id": 26,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "209:1:1" "src": "209:1:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 24, "id": 24,
"name" : "ParameterList", "name": "ParameterList",
"src" : "187:2:1" "src": "187:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 28, "id": 28,
"name" : "ParameterList", "name": "ParameterList",
"src" : "212:0:1" "src": "212:0:1"
}, },
{ {
"attributes" : "attributes":
{ {
"statements" : "statements":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 29, "id": 29,
"name" : "Block", "name": "Block",
"src" : "212:2:1" "src": "212:2:1"
} }
], ],
"id" : 30, "id": 30,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "175:39:1" "src": "175:39:1"
} }
], ],
"id" : 31, "id": 31,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "120:96:1" "src": "120:96:1"
} }
], ],
"id" : 32, "id": 32,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:217:1" "src": "0:217:1"
} }

View File

@ -1,64 +1,64 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
] ]
}, },
"id" : 6, "id": 6,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 5, "id": 5,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 3, "id": 3,
"nodeType" : "Block", "nodeType": "Block",
"src" : "24:6:1", "src": "24:6:1",
"statements" : "statements":
[ [
{ {
"id" : 2, "id": 2,
"nodeType" : "PlaceholderStatement", "nodeType": "PlaceholderStatement",
"src" : "26:1:1" "src": "26:1:1"
} }
] ]
}, },
"documentation" : null, "documentation": null,
"id" : 4, "id": 4,
"name" : "M", "name": "M",
"nodeType" : "ModifierDefinition", "nodeType": "ModifierDefinition",
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "24:0:1" "src": "24:0:1"
}, },
"src" : "13:17:1", "src": "13:17:1",
"visibility" : "internal" "visibility": "internal"
} }
], ],
"scope" : 6, "scope": 6,
"src" : "0:32:1" "src": "0:32:1"
} }
], ],
"src" : "0:33:1" "src": "0:33:1"
} }

View File

@ -1,87 +1,87 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"scope" : 6 "scope": 6
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"name" : "M", "name": "M",
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "24:0:1" "src": "24:0:1"
}, },
{ {
"children" : "children":
[ [
{ {
"id" : 2, "id": 2,
"name" : "PlaceholderStatement", "name": "PlaceholderStatement",
"src" : "26:1:1" "src": "26:1:1"
} }
], ],
"id" : 3, "id": 3,
"name" : "Block", "name": "Block",
"src" : "24:6:1" "src": "24:6:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "ModifierDefinition", "name": "ModifierDefinition",
"src" : "13:17:1" "src": "13:17:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:32:1" "src": "0:32:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:33:1" "src": "0:33:1"
} }

View File

@ -1,128 +1,128 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"c" : "c":
[ [
11 11
] ]
}, },
"id" : 12, "id": 12,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 11, "id": 11,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
11 11
], ],
"name" : "c", "name": "c",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 9, "id": 9,
"nodeType" : "Block", "nodeType": "Block",
"src" : "33:20:1", "src": "33:20:1",
"statements" : "statements":
[ [
{ {
"assignments" : "assignments":
[ [
7 7
], ],
"declarations" : "declarations":
[ [
{ {
"constant" : false, "constant": false,
"id" : 7, "id": 7,
"name" : "x", "name": "x",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 9, "scope": 9,
"src" : "35:15:1", "src": "35:15:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "memory", "storageLocation": "memory",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_memory_ptr", "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
"typeString" : "uint256[]" "typeString": "uint256[]"
}, },
"typeName" : "typeName":
{ {
"baseType" : "baseType":
{ {
"id" : 5, "id": 5,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "35:4:1", "src": "35:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"id" : 6, "id": 6,
"length" : null, "length": null,
"nodeType" : "ArrayTypeName", "nodeType": "ArrayTypeName",
"src" : "35:6:1", "src": "35:6:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage_ptr", "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString" : "uint256[]" "typeString": "uint256[]"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"id" : 8, "id": 8,
"initialValue" : null, "initialValue": null,
"nodeType" : "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src" : "35:15:1" "src": "35:15:1"
} }
] ]
}, },
"documentation" : null, "documentation": null,
"id" : 10, "id": 10,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "f", "name": "f",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "23:2:1" "src": "23:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 2, "id": 2,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "33:0:1" "src": "33:0:1"
}, },
"scope" : 11, "scope": 11,
"src" : "13:40:1", "src": "13:40:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 12, "scope": 12,
"src" : "0:55:1" "src": "0:55:1"
} }
], ],
"src" : "0:56:1" "src": "0:56:1"
} }

View File

@ -1,165 +1,165 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"c" : "c":
[ [
11 11
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
11 11
], ],
"name" : "c", "name": "c",
"scope" : 12 "scope": 12
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "f", "name": "f",
"overrides" : null, "overrides": null,
"scope" : 11, "scope": 11,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "23:2:1" "src": "23:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 2, "id": 2,
"name" : "ParameterList", "name": "ParameterList",
"src" : "33:0:1" "src": "33:0:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"assignments" : "assignments":
[ [
7 7
], ],
"initialValue" : null "initialValue": null
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "x", "name": "x",
"overrides" : null, "overrides": null,
"scope" : 9, "scope": 9,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "memory", "storageLocation": "memory",
"type" : "uint256[]", "type": "uint256[]",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"length" : null, "length": null,
"type" : "uint256[]" "type": "uint256[]"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 5, "id": 5,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "35:4:1" "src": "35:4:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "ArrayTypeName", "name": "ArrayTypeName",
"src" : "35:6:1" "src": "35:6:1"
} }
], ],
"id" : 7, "id": 7,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "35:15:1" "src": "35:15:1"
} }
], ],
"id" : 8, "id": 8,
"name" : "VariableDeclarationStatement", "name": "VariableDeclarationStatement",
"src" : "35:15:1" "src": "35:15:1"
} }
], ],
"id" : 9, "id": 9,
"name" : "Block", "name": "Block",
"src" : "33:20:1" "src": "33:20:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "13:40:1" "src": "13:40:1"
} }
], ],
"id" : 11, "id": 11,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:55:1" "src": "0:55:1"
} }
], ],
"id" : 12, "id": 12,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:56:1" "src": "0:56:1"
} }

View File

@ -1,140 +1,140 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"c" : "c":
[ [
12 12
] ]
}, },
"id" : 13, "id": 13,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 12, "id": 12,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
12 12
], ],
"name" : "c", "name": "c",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 10, "id": 10,
"nodeType" : "Block", "nodeType": "Block",
"src" : "33:25:1", "src": "33:25:1",
"statements" : "statements":
[ [
{ {
"assignments" : "assignments":
[ [
8 8
], ],
"declarations" : "declarations":
[ [
{ {
"constant" : false, "constant": false,
"id" : 8, "id": 8,
"name" : "rows", "name": "rows",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 10, "scope": 10,
"src" : "35:20:1", "src": "35:20:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "memory", "storageLocation": "memory",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_array$_t_uint256_$dyn_memory_$dyn_memory_ptr", "typeIdentifier": "t_array$_t_array$_t_uint256_$dyn_memory_$dyn_memory_ptr",
"typeString" : "uint256[][]" "typeString": "uint256[][]"
}, },
"typeName" : "typeName":
{ {
"baseType" : "baseType":
{ {
"baseType" : "baseType":
{ {
"id" : 5, "id": 5,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "35:4:1", "src": "35:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
}, },
"id" : 6, "id": 6,
"length" : null, "length": null,
"nodeType" : "ArrayTypeName", "nodeType": "ArrayTypeName",
"src" : "35:6:1", "src": "35:6:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_uint256_$dyn_storage_ptr", "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
"typeString" : "uint256[]" "typeString": "uint256[]"
} }
}, },
"id" : 7, "id": 7,
"length" : null, "length": null,
"nodeType" : "ArrayTypeName", "nodeType": "ArrayTypeName",
"src" : "35:8:1", "src": "35:8:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_array$_t_array$_t_uint256_$dyn_storage_$dyn_storage_ptr", "typeIdentifier": "t_array$_t_array$_t_uint256_$dyn_storage_$dyn_storage_ptr",
"typeString" : "uint256[][]" "typeString": "uint256[][]"
} }
}, },
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"id" : 9, "id": 9,
"initialValue" : null, "initialValue": null,
"nodeType" : "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src" : "35:20:1" "src": "35:20:1"
} }
] ]
}, },
"documentation" : null, "documentation": null,
"id" : 11, "id": 11,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "f", "name": "f",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "23:2:1" "src": "23:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 2, "id": 2,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "33:0:1" "src": "33:0:1"
}, },
"scope" : 12, "scope": 12,
"src" : "13:45:1", "src": "13:45:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 13, "scope": 13,
"src" : "0:60:1" "src": "0:60:1"
} }
], ],
"src" : "0:61:1" "src": "0:61:1"
} }

View File

@ -1,178 +1,178 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"c" : "c":
[ [
12 12
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
12 12
], ],
"name" : "c", "name": "c",
"scope" : 13 "scope": 13
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "f", "name": "f",
"overrides" : null, "overrides": null,
"scope" : 12, "scope": 12,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "23:2:1" "src": "23:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 2, "id": 2,
"name" : "ParameterList", "name": "ParameterList",
"src" : "33:0:1" "src": "33:0:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"assignments" : "assignments":
[ [
8 8
], ],
"initialValue" : null "initialValue": null
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "rows", "name": "rows",
"overrides" : null, "overrides": null,
"scope" : 10, "scope": 10,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "memory", "storageLocation": "memory",
"type" : "uint256[][]", "type": "uint256[][]",
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"length" : null, "length": null,
"type" : "uint256[][]" "type": "uint256[][]"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"length" : null, "length": null,
"type" : "uint256[]" "type": "uint256[]"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 5, "id": 5,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "35:4:1" "src": "35:4:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "ArrayTypeName", "name": "ArrayTypeName",
"src" : "35:6:1" "src": "35:6:1"
} }
], ],
"id" : 7, "id": 7,
"name" : "ArrayTypeName", "name": "ArrayTypeName",
"src" : "35:8:1" "src": "35:8:1"
} }
], ],
"id" : 8, "id": 8,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "35:20:1" "src": "35:20:1"
} }
], ],
"id" : 9, "id": 9,
"name" : "VariableDeclarationStatement", "name": "VariableDeclarationStatement",
"src" : "35:20:1" "src": "35:20:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "Block", "name": "Block",
"src" : "33:25:1" "src": "33:25:1"
} }
], ],
"id" : 11, "id": 11,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "13:45:1" "src": "13:45:1"
} }
], ],
"id" : 12, "id": 12,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:60:1" "src": "0:60:1"
} }
], ],
"id" : 13, "id": 13,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:61:1" "src": "0:61:1"
} }

View File

@ -1,33 +1,33 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
1 1
] ]
}, },
"id" : 2, "id": 2,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 1, "id": 1,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
1 1
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 2, "scope": 2,
"src" : "0:13:1" "src": "0:13:1"
} }
], ],
"src" : "0:14:1" "src": "0:14:1"
} }

View File

@ -1,48 +1,48 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
1 1
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
1 1
], ],
"name" : "C", "name": "C",
"nodes" : "nodes":
[ [
null null
], ],
"scope" : 2 "scope": 2
}, },
"id" : 1, "id": 1,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:13:1" "src": "0:13:1"
} }
], ],
"id" : 2, "id": 2,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:14:1" "src": "0:14:1"
} }

View File

@ -1,162 +1,162 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
11 11
] ]
}, },
"id" : 12, "id": 12,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 11, "id": 11,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
11 11
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"body" : "body":
{ {
"id" : 9, "id": 9,
"nodeType" : "Block", "nodeType": "Block",
"src" : "26:19:1", "src": "26:19:1",
"statements" : "statements":
[ [
{ {
"assignments" : "assignments":
[ [
3 3
], ],
"declarations" : "declarations":
[ [
{ {
"constant" : false, "constant": false,
"id" : 3, "id": 3,
"name" : "x", "name": "x",
"nodeType" : "VariableDeclaration", "nodeType": "VariableDeclaration",
"overrides" : null, "overrides": null,
"scope" : 9, "scope": 9,
"src" : "28:5:1", "src": "28:5:1",
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint8", "typeIdentifier": "t_uint8",
"typeString" : "uint8" "typeString": "uint8"
}, },
"typeName" : null, "typeName": null,
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
} }
], ],
"id" : 5, "id": 5,
"initialValue" : "initialValue":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexValue" : "32", "hexValue": "32",
"id" : 4, "id": 4,
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"kind" : "number", "kind": "number",
"lValueRequested" : false, "lValueRequested": false,
"nodeType" : "Literal", "nodeType": "Literal",
"src" : "36:1:1", "src": "36:1:1",
"subdenomination" : null, "subdenomination": null,
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_rational_2_by_1", "typeIdentifier": "t_rational_2_by_1",
"typeString" : "int_const 2" "typeString": "int_const 2"
}, },
"value" : "2" "value": "2"
}, },
"nodeType" : "VariableDeclarationStatement", "nodeType": "VariableDeclarationStatement",
"src" : "28:9:1" "src": "28:9:1"
}, },
{ {
"expression" : "expression":
{ {
"argumentTypes" : null, "argumentTypes": null,
"id" : 7, "id": 7,
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : false, "isPure": false,
"lValueRequested" : false, "lValueRequested": false,
"nodeType" : "UnaryOperation", "nodeType": "UnaryOperation",
"operator" : "++", "operator": "++",
"prefix" : false, "prefix": false,
"src" : "39:3:1", "src": "39:3:1",
"subExpression" : "subExpression":
{ {
"argumentTypes" : null, "argumentTypes": null,
"id" : 6, "id": 6,
"name" : "x", "name": "x",
"nodeType" : "Identifier", "nodeType": "Identifier",
"overloadedDeclarations" : [], "overloadedDeclarations": [],
"referencedDeclaration" : 3, "referencedDeclaration": 3,
"src" : "39:1:1", "src": "39:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint8", "typeIdentifier": "t_uint8",
"typeString" : "uint8" "typeString": "uint8"
} }
}, },
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint8", "typeIdentifier": "t_uint8",
"typeString" : "uint8" "typeString": "uint8"
} }
}, },
"id" : 8, "id": 8,
"nodeType" : "ExpressionStatement", "nodeType": "ExpressionStatement",
"src" : "39:3:1" "src": "39:3:1"
} }
] ]
}, },
"documentation" : null, "documentation": null,
"id" : 10, "id": 10,
"implemented" : true, "implemented": true,
"kind" : "function", "kind": "function",
"modifiers" : [], "modifiers": [],
"name" : "f", "name": "f",
"nodeType" : "FunctionDefinition", "nodeType": "FunctionDefinition",
"overrides" : null, "overrides": null,
"parameters" : "parameters":
{ {
"id" : 1, "id": 1,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "23:2:1" "src": "23:2:1"
}, },
"returnParameters" : "returnParameters":
{ {
"id" : 2, "id": 2,
"nodeType" : "ParameterList", "nodeType": "ParameterList",
"parameters" : [], "parameters": [],
"src" : "26:0:1" "src": "26:0:1"
}, },
"scope" : 11, "scope": 11,
"src" : "13:32:1", "src": "13:32:1",
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
} }
], ],
"scope" : 12, "scope": 12,
"src" : "0:47:1" "src": "0:47:1"
} }
], ],
"src" : "0:48:1" "src": "0:48:1"
} }

View File

@ -1,201 +1,201 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
11 11
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
11 11
], ],
"name" : "C", "name": "C",
"scope" : 12 "scope": 12
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"documentation" : null, "documentation": null,
"implemented" : true, "implemented": true,
"isConstructor" : false, "isConstructor": false,
"kind" : "function", "kind": "function",
"modifiers" : "modifiers":
[ [
null null
], ],
"name" : "f", "name": "f",
"overrides" : null, "overrides": null,
"scope" : 11, "scope": 11,
"stateMutability" : "nonpayable", "stateMutability": "nonpayable",
"superFunction" : null, "superFunction": null,
"visibility" : "public" "visibility": "public"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 1, "id": 1,
"name" : "ParameterList", "name": "ParameterList",
"src" : "23:2:1" "src": "23:2:1"
}, },
{ {
"attributes" : "attributes":
{ {
"parameters" : "parameters":
[ [
null null
] ]
}, },
"children" : [], "children": [],
"id" : 2, "id": 2,
"name" : "ParameterList", "name": "ParameterList",
"src" : "26:0:1" "src": "26:0:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"assignments" : "assignments":
[ [
3 3
] ]
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"constant" : false, "constant": false,
"name" : "x", "name": "x",
"overrides" : null, "overrides": null,
"scope" : 9, "scope": 9,
"stateVariable" : false, "stateVariable": false,
"storageLocation" : "default", "storageLocation": "default",
"type" : "uint8", "type": "uint8",
"typeName" : null, "typeName": null,
"value" : null, "value": null,
"visibility" : "internal" "visibility": "internal"
}, },
"children" : [], "children": [],
"id" : 3, "id": 3,
"name" : "VariableDeclaration", "name": "VariableDeclaration",
"src" : "28:5:1" "src": "28:5:1"
}, },
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"hexvalue" : "32", "hexvalue": "32",
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : true, "isPure": true,
"lValueRequested" : false, "lValueRequested": false,
"subdenomination" : null, "subdenomination": null,
"token" : "number", "token": "number",
"type" : "int_const 2", "type": "int_const 2",
"value" : "2" "value": "2"
}, },
"id" : 4, "id": 4,
"name" : "Literal", "name": "Literal",
"src" : "36:1:1" "src": "36:1:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "VariableDeclarationStatement", "name": "VariableDeclarationStatement",
"src" : "28:9:1" "src": "28:9:1"
}, },
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"isConstant" : false, "isConstant": false,
"isLValue" : false, "isLValue": false,
"isPure" : false, "isPure": false,
"lValueRequested" : false, "lValueRequested": false,
"operator" : "++", "operator": "++",
"prefix" : false, "prefix": false,
"type" : "uint8" "type": "uint8"
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"argumentTypes" : null, "argumentTypes": null,
"overloadedDeclarations" : "overloadedDeclarations":
[ [
null null
], ],
"referencedDeclaration" : 3, "referencedDeclaration": 3,
"type" : "uint8", "type": "uint8",
"value" : "x" "value": "x"
}, },
"id" : 6, "id": 6,
"name" : "Identifier", "name": "Identifier",
"src" : "39:1:1" "src": "39:1:1"
} }
], ],
"id" : 7, "id": 7,
"name" : "UnaryOperation", "name": "UnaryOperation",
"src" : "39:3:1" "src": "39:3:1"
} }
], ],
"id" : 8, "id": 8,
"name" : "ExpressionStatement", "name": "ExpressionStatement",
"src" : "39:3:1" "src": "39:3:1"
} }
], ],
"id" : 9, "id": 9,
"name" : "Block", "name": "Block",
"src" : "26:19:1" "src": "26:19:1"
} }
], ],
"id" : 10, "id": 10,
"name" : "FunctionDefinition", "name": "FunctionDefinition",
"src" : "13:32:1" "src": "13:32:1"
} }
], ],
"id" : 11, "id": 11,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:47:1" "src": "0:47:1"
} }
], ],
"id" : 12, "id": 12,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:48:1" "src": "0:48:1"
} }

View File

@ -1,87 +1,87 @@
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
], ],
"L" : "L":
[ [
1 1
] ]
}, },
"id" : 6, "id": 6,
"nodeType" : "SourceUnit", "nodeType": "SourceUnit",
"nodes" : "nodes":
[ [
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "library", "contractKind": "library",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 1, "id": 1,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
1 1
], ],
"name" : "L", "name": "L",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : [], "nodes": [],
"scope" : 6, "scope": 6,
"src" : "0:12:1" "src": "0:12:1"
}, },
{ {
"baseContracts" : [], "baseContracts": [],
"contractDependencies" : [], "contractDependencies": [],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"id" : 5, "id": 5,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"nodeType" : "ContractDefinition", "nodeType": "ContractDefinition",
"nodes" : "nodes":
[ [
{ {
"id" : 4, "id": 4,
"libraryName" : "libraryName":
{ {
"contractScope" : null, "contractScope": null,
"id" : 2, "id": 2,
"name" : "L", "name": "L",
"nodeType" : "UserDefinedTypeName", "nodeType": "UserDefinedTypeName",
"referencedDeclaration" : 1, "referencedDeclaration": 1,
"src" : "32:1:1", "src": "32:1:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_contract$_L_$1", "typeIdentifier": "t_contract$_L_$1",
"typeString" : "library L" "typeString": "library L"
} }
}, },
"nodeType" : "UsingForDirective", "nodeType": "UsingForDirective",
"src" : "26:17:1", "src": "26:17:1",
"typeName" : "typeName":
{ {
"id" : 3, "id": 3,
"name" : "uint", "name": "uint",
"nodeType" : "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src" : "38:4:1", "src": "38:4:1",
"typeDescriptions" : "typeDescriptions":
{ {
"typeIdentifier" : "t_uint256", "typeIdentifier": "t_uint256",
"typeString" : "uint256" "typeString": "uint256"
} }
} }
} }
], ],
"scope" : 6, "scope": 6,
"src" : "13:32:1" "src": "13:32:1"
} }
], ],
"src" : "0:46:1" "src": "0:46:1"
} }

View File

@ -1,110 +1,110 @@
{ {
"attributes" : "attributes":
{ {
"absolutePath" : "a", "absolutePath": "a",
"exportedSymbols" : "exportedSymbols":
{ {
"C" : "C":
[ [
5 5
], ],
"L" : "L":
[ [
1 1
] ]
} }
}, },
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "library", "contractKind": "library",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
1 1
], ],
"name" : "L", "name": "L",
"nodes" : "nodes":
[ [
null null
], ],
"scope" : 6 "scope": 6
}, },
"id" : 1, "id": 1,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "0:12:1" "src": "0:12:1"
}, },
{ {
"attributes" : "attributes":
{ {
"baseContracts" : "baseContracts":
[ [
null null
], ],
"contractDependencies" : "contractDependencies":
[ [
null null
], ],
"contractKind" : "contract", "contractKind": "contract",
"documentation" : null, "documentation": null,
"fullyImplemented" : true, "fullyImplemented": true,
"linearizedBaseContracts" : "linearizedBaseContracts":
[ [
5 5
], ],
"name" : "C", "name": "C",
"scope" : 6 "scope": 6
}, },
"children" : "children":
[ [
{ {
"children" : "children":
[ [
{ {
"attributes" : "attributes":
{ {
"contractScope" : null, "contractScope": null,
"name" : "L", "name": "L",
"referencedDeclaration" : 1, "referencedDeclaration": 1,
"type" : "library L" "type": "library L"
}, },
"id" : 2, "id": 2,
"name" : "UserDefinedTypeName", "name": "UserDefinedTypeName",
"src" : "32:1:1" "src": "32:1:1"
}, },
{ {
"attributes" : "attributes":
{ {
"name" : "uint", "name": "uint",
"type" : "uint256" "type": "uint256"
}, },
"id" : 3, "id": 3,
"name" : "ElementaryTypeName", "name": "ElementaryTypeName",
"src" : "38:4:1" "src": "38:4:1"
} }
], ],
"id" : 4, "id": 4,
"name" : "UsingForDirective", "name": "UsingForDirective",
"src" : "26:17:1" "src": "26:17:1"
} }
], ],
"id" : 5, "id": 5,
"name" : "ContractDefinition", "name": "ContractDefinition",
"src" : "13:32:1" "src": "13:32:1"
} }
], ],
"id" : 6, "id": 6,
"name" : "SourceUnit", "name": "SourceUnit",
"src" : "0:46:1" "src": "0:46:1"
} }