mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update the AST output
This commit is contained in:
parent
9fa54db7bd
commit
96677cd178
@ -193,6 +193,15 @@ Output Description
|
|||||||
message: "Invalid keyword"
|
message: "Invalid keyword"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
// This contains the file-level outputs. In can be limited/filtered by the outputSelection settings.
|
||||||
|
sources: {
|
||||||
|
"sourceFile.sol": {
|
||||||
|
// Identifier (used in source maps)
|
||||||
|
id: 1,
|
||||||
|
// The AST object
|
||||||
|
ast: {}
|
||||||
|
}
|
||||||
|
},
|
||||||
// This contains the contract-level outputs. It can be limited/filtered by the outputSelection settings.
|
// This contains the contract-level outputs. It can be limited/filtered by the outputSelection settings.
|
||||||
contracts: {
|
contracts: {
|
||||||
"sourceFile.sol": {
|
"sourceFile.sol": {
|
||||||
@ -264,13 +273,6 @@ Output Description
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
formal: {
|
// Why3 output (string)
|
||||||
"why3": "..."
|
why3: ""
|
||||||
},
|
|
||||||
sourceList: ["source1.sol", "source2.sol"], // this is important for source references both in the ast as well as in the srcmap in the contract
|
|
||||||
sources: {
|
|
||||||
"source1.sol": {
|
|
||||||
"AST": { ... }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user