mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Provide access to AssemblyStack's AST.
This commit is contained in:
1 parent
10888b21d8
commit
a344381d5e
4 files changed
+30
-52
No files matched your search
@@ -178,3 +178,11 @@ string AssemblyStack::print() const
|
||||
solAssert(m_parserResult->code, "");
|
||||
return m_parserResult->toString(m_language == Language::Yul) + "\n";
|
||||
}
|
||||
|
||||
shared_ptr<Object> AssemblyStack::parserResult() const
|
||||
{
|
||||
solAssert(m_analysisSuccessful, "Analysis was not successful.");
|
||||
solAssert(m_parserResult, "");
|
||||
solAssert(m_parserResult->code, "");
|
||||
return m_parserResult;
|
||||
}
|
||||
Reference in new issue
Block a user