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

Method EndColumn

src/Design/FileContent.cpp:386–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386uint16_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
398NodeId FileContent::sl_get(NodeId parent, VObjectType type) const {
399 if (!parent) return InvalidNodeId;

Callers 4

compileTypespecMethod · 0.80
registerFileMethod · 0.80
getEndColumnNbMethod · 0.80

Calls 1

addErrorMethod · 0.45

Tested by

no test coverage detected