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

Function _saveCircuit

SLiCAP/SLiCAPyacc.py:323–330  ·  view source on GitHub ↗
(cir, name, cirType)

Source from the content-addressed store, hash-verified

321 _CIRCUITS[name].errors += n
322
323def _saveCircuit(cir, name, cirType):
324 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS
325 if cirType == 'system':
326 _SLiCAPCIRCUITS[name] = cir
327 elif cirType == 'user':
328 _USERCIRCUITS[name] = cir
329 elif cirType == 'main':
330 _CIRCUITS[name] = cir
331
332def _addElement(el, name, cirType):
333 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS

Callers 2

_createCircuitFunction · 0.85
_createSubCKTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected