diff options
author | chriseth <c@ethdev.com> | 2017-02-09 21:04:23 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-02-14 22:41:25 +0800 |
commit | 80f72437864301562b485cb380eddcea5e6e575f (patch) | |
tree | 688697587df071d2503f1b78209a626cbb68d1f0 /libsolidity/inlineasm/AsmStack.h | |
parent | 4189ff5b68f119878807104ebac0137171c8ecd6 (diff) | |
download | dexon-solidity-80f72437864301562b485cb380eddcea5e6e575f.tar.gz dexon-solidity-80f72437864301562b485cb380eddcea5e6e575f.tar.zst dexon-solidity-80f72437864301562b485cb380eddcea5e6e575f.zip |
Assembly printer.
Diffstat (limited to 'libsolidity/inlineasm/AsmStack.h')
-rw-r--r-- | libsolidity/inlineasm/AsmStack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsolidity/inlineasm/AsmStack.h b/libsolidity/inlineasm/AsmStack.h index 1543cb2a..71d6c771 100644 --- a/libsolidity/inlineasm/AsmStack.h +++ b/libsolidity/inlineasm/AsmStack.h @@ -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. |