| 81 | m_ppOutputFileLocation(false) {} |
| 82 | |
| 83 | void SV3_1aTreeShapeHelper::logError(ErrorDefinition::ErrorType error, |
| 84 | antlr4::ParserRuleContext* ctx, |
| 85 | std::string_view object, |
| 86 | bool printColumn) { |
| 87 | ParseUtils::LineColumn lineCol = ParseUtils::getLineColumn(m_tokens, ctx); |
| 88 | |
| 89 | Location loc( |
| 90 | m_pf->getFileId(lineCol.first /*+ m_lineOffset*/), |
| 91 | m_pf->getLineNb(lineCol.first /*+ m_lineOffset*/), |
| 92 | printColumn ? lineCol.second : 0, |
| 93 | m_pf->getCompileSourceFile()->getSymbolTable()->registerSymbol(object)); |
| 94 | Error err(error, loc); |
| 95 | m_pf->addError(err); |
| 96 | } |
| 97 | |
| 98 | void SV3_1aTreeShapeHelper::logError(ErrorDefinition::ErrorType error, |
| 99 | Location& loc, bool showDuplicates) { |
nothing calls this directly
no test coverage detected