| 175 | } |
| 176 | |
| 177 | std::shared_ptr<AST> ObjectParser::parseBlock(std::optional<SourceNameMap> _sourceNames) |
| 178 | { |
| 179 | Parser parser(m_errorReporter, m_dialect, std::move(_sourceNames)); |
| 180 | auto ast = parser.parseInline(m_scanner); |
| 181 | yulAssert(ast || m_errorReporter.hasErrors(), "Invalid block but no error!"); |
| 182 | return ast; |
| 183 | } |
| 184 | |
| 185 | void ObjectParser::parseData(Object& _containingObject) |
| 186 | { |
nothing calls this directly
no test coverage detected