MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / EndLine

Method EndLine

src/Design/FileContent.cpp:374–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374uint32_t FileContent::EndLine(NodeId index) const {
375 if (!index) return 0;
376 if (index >= m_objects.size()) {
377 Location loc(m_fileId);
378 Error err(ErrorDefinition::COMP_INTERNAL_ERROR_OUT_OF_BOUND, loc);
379 m_errors->addError(err);
380 std::cerr << "\nINTERNAL OUT OF BOUND ERROR\n\n";
381 return 0;
382 }
383 return m_objects[index].m_endLine;
384}
385
386uint16_t FileContent::EndColumn(NodeId index) const {
387 if (!index) return 0;

Callers 3

compileTypespecMethod · 0.80
getEndLineNbMethod · 0.80

Calls 1

addErrorMethod · 0.45

Tested by

no test coverage detected