| 398 | } |
| 399 | |
| 400 | uint32_t IfcLoader::GetCurrentLineExpressID() const |
| 401 | { |
| 402 | if (_lines.size()==0) return 0; |
| 403 | uint32_t prevLine = 0; |
| 404 | uint32_t pos = _tokenStream->GetReadOffset(); |
| 405 | for (const auto & [key, value] : _lines) { |
| 406 | if (value->tapeOffset > pos) break; |
| 407 | prevLine = key; |
| 408 | } |
| 409 | return prevLine; |
| 410 | } |
| 411 | |
| 412 | uint32_t IfcLoader::GetRefArgument() const |
| 413 | { |
nothing calls this directly
no test coverage detected