mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
add payable to AST
This commit is contained in:
parent
90a4acc3a5
commit
02416d4460
@ -174,7 +174,8 @@ bool ASTJsonConverter::visit(FunctionDefinition const& _node)
|
||||
addJsonNode(_node, "FunctionDefinition", {
|
||||
make_pair("name", _node.name()),
|
||||
make_pair("public", _node.isPublic()),
|
||||
make_pair("constant", _node.isDeclaredConst())
|
||||
make_pair("constant", _node.isDeclaredConst()),
|
||||
make_pair("payable", _node.isPayable())
|
||||
}, true);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user