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