MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / _addTitle

Function _addTitle

SLiCAP/SLiCAPyacc.py:284–291  ·  view source on GitHub ↗
(name, cirType, title)

Source from the content-addressed store, hash-verified

282 _saveCircuit(newCircuit, name, cirType)
283
284def _addTitle(name, cirType, title):
285 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS
286 if cirType == 'system':
287 _SLiCAPCIRCUITS[name].title = title
288 elif cirType == 'user':
289 _USERCIRCUITS[name].title = title
290 elif cirType == 'main':
291 _CIRCUITS[name].title = title
292
293def _createSubCKT(line, name, cirType):
294 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS

Callers 1

_parseNetlistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected