mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add ast json converter for PlaceholderStatement
This commit is contained in:
@@ -236,6 +236,12 @@ bool ASTJsonConverter::visit(Block const& _node)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ASTJsonConverter::visit(PlaceholderStatement const& _node)
|
||||
{
|
||||
addJsonNode(_node, "Placeholder", {}, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ASTJsonConverter::visit(IfStatement const& _node)
|
||||
{
|
||||
addJsonNode(_node, "IfStatement", {}, true);
|
||||
@@ -480,6 +486,11 @@ void ASTJsonConverter::endVisit(Block const&)
|
||||
goUp();
|
||||
}
|
||||
|
||||
void ASTJsonConverter::endVisit(PlaceholderStatement const&)
|
||||
{
|
||||
goUp();
|
||||
}
|
||||
|
||||
void ASTJsonConverter::endVisit(IfStatement const&)
|
||||
{
|
||||
goUp();
|
||||
|
||||
Reference in New Issue
Block a user