mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add ast json converter for UsingForDirective
This commit is contained in:
@@ -122,7 +122,13 @@ bool ASTJsonConverter::visit(ContractDefinition const& _node)
|
||||
|
||||
bool ASTJsonConverter::visit(InheritanceSpecifier const& _node)
|
||||
{
|
||||
addJsonNode(_node, "Inheritance", { }, true);
|
||||
addJsonNode(_node, "Inheritance", {}, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ASTJsonConverter::visit(UsingForDirective const& _node)
|
||||
{
|
||||
addJsonNode(_node, "UsingFor", {}, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -356,6 +362,11 @@ void ASTJsonConverter::endVisit(InheritanceSpecifier const&)
|
||||
goUp();
|
||||
}
|
||||
|
||||
void ASTJsonConverter::endVisit(UsingForDirective const&)
|
||||
{
|
||||
goUp();
|
||||
}
|
||||
|
||||
void ASTJsonConverter::endVisit(StructDefinition const&)
|
||||
{
|
||||
goUp();
|
||||
|
||||
Reference in New Issue
Block a user