Assembly printer.

This commit is contained in:
chriseth
2017-02-14 15:41:25 +01:00
parent 4189ff5b68
commit 80f7243786
4 changed files with 204 additions and 4 deletions
+4
View File
@@ -46,6 +46,10 @@ public:
/// Parse the given inline assembly chunk starting with `{` and ending with the corresponding `}`.
/// @return false or error.
bool parse(std::shared_ptr<Scanner> const& _scanner);
/// Converts the parser result back into a string form (not necessarily the same form
/// as the source form, but it should parse into the same parsed form again).
std::string print();
eth::Assembly assemble();
/// Parse and assemble a string in one run - for use in Solidity code generation itself.