| 384 | } |
| 385 | |
| 386 | uint16_t FileContent::EndColumn(NodeId index) const { |
| 387 | if (!index) return 0; |
| 388 | if (index >= m_objects.size()) { |
| 389 | Location loc(m_fileId); |
| 390 | Error err(ErrorDefinition::COMP_INTERNAL_ERROR_OUT_OF_BOUND, loc); |
| 391 | m_errors->addError(err); |
| 392 | std::cerr << "\nINTERNAL OUT OF BOUND ERROR\n\n"; |
| 393 | return 0; |
| 394 | } |
| 395 | return m_objects[index].m_endColumn; |
| 396 | } |
| 397 | |
| 398 | NodeId FileContent::sl_get(NodeId parent, VObjectType type) const { |
| 399 | if (!parent) return InvalidNodeId; |
no test coverage detected