add payable to AST

This commit is contained in:
yann300 2016-11-03 16:36:38 +01:00
parent 90a4acc3a5
commit 02416d4460

View File

@ -174,7 +174,8 @@ bool ASTJsonConverter::visit(FunctionDefinition const& _node)
addJsonNode(_node, "FunctionDefinition", { addJsonNode(_node, "FunctionDefinition", {
make_pair("name", _node.name()), make_pair("name", _node.name()),
make_pair("public", _node.isPublic()), make_pair("public", _node.isPublic()),
make_pair("constant", _node.isDeclaredConst()) make_pair("constant", _node.isDeclaredConst()),
make_pair("payable", _node.isPayable())
}, true); }, true);
return true; return true;
} }