MCPcopy Create free account
hub / github.com/argotorg/solidity / parseBlock

Method parseBlock

libyul/ObjectParser.cpp:177–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177std::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
185void ObjectParser::parseData(Object& _containingObject)
186{

Callers

nothing calls this directly

Calls 2

parseInlineMethod · 0.80
hasErrorsMethod · 0.45

Tested by

no test coverage detected