mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
AST import and export for revert statement.
This commit is contained in:
@@ -675,6 +675,14 @@ bool ASTJsonConverter::visit(EmitStatement const& _node)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ASTJsonConverter::visit(RevertStatement const& _node)
|
||||
{
|
||||
setJsonNode(_node, "RevertStatement", {
|
||||
make_pair("errorCall", toJson(_node.errorCall()))
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ASTJsonConverter::visit(VariableDeclarationStatement const& _node)
|
||||
{
|
||||
Json::Value varDecs(Json::arrayValue);
|
||||
|
||||
Reference in New Issue
Block a user