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

Method analyzeExperimental

libsolidity/interface/CompilerStack.cpp:709–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707}
708
709bool CompilerStack::analyzeExperimental()
710{
711 solAssert(!m_experimentalAnalysis);
712 solAssert(m_maxAstId && *m_maxAstId >= 0);
713 m_experimentalAnalysis = std::make_unique<experimental::Analysis>(m_errorReporter, static_cast<std::uint64_t>(*m_maxAstId));
714 std::vector<std::shared_ptr<SourceUnit const>> sourceAsts;
715 for (Source const* source: m_sourceOrder)
716 if (source->ast)
717 sourceAsts.emplace_back(source->ast);
718 return m_experimentalAnalysis->check(sourceAsts);
719}
720
721bool CompilerStack::parseAndAnalyze(State _stopAfter)
722{

Callers

nothing calls this directly

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected