aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTJsonConverter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/ast/ASTJsonConverter.cpp')
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index 163e22f4..89d0bf35 100644
--- a/libsolidity/ast/ASTJsonConverter.cpp
+++ b/libsolidity/ast/ASTJsonConverter.cpp
@@ -157,6 +157,12 @@ bool ASTJsonConverter::visit(Mapping const&)
return true;
}
+bool ASTJsonConverter::visit(InlineAssembly const&)
+{
+ addJsonNode("InlineAssembly", {}, true);
+ return true;
+}
+
bool ASTJsonConverter::visit(Block const&)
{
addJsonNode("Block", {}, true);
@@ -355,6 +361,10 @@ void ASTJsonConverter::endVisit(Mapping const&)
{
}
+void ASTJsonConverter::endVisit(InlineAssembly const&)
+{
+}
+
void ASTJsonConverter::endVisit(Block const&)
{
goUp();