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

Method checkSyntax

libsolidity/analysis/SyntaxChecker.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38using namespace solidity::util;
39
40bool SyntaxChecker::checkSyntax(ASTNode const& _astRoot)
41{
42 _astRoot.accept(*this);
43 return !Error::containsErrors(m_errorReporter.errors());
44}
45
46bool SyntaxChecker::visit(SourceUnit const& _sourceUnit)
47{

Callers 3

compileContractFunction · 0.80
compileFirstExpressionFunction · 0.80
analyzeMethod · 0.80

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected