MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / refs_for_symbol

Function refs_for_symbol

SLiCAP/schematic/component_item.py:227–229  ·  view source on GitHub ↗

Return the number of element references this symbol requires.

(symbol_name: str)

Source from the content-addressed store, hash-verified

225
226
227def refs_for_symbol(symbol_name: str) -> int:
228 """Return the number of element references this symbol requires."""
229 return SYMBOL_REFS.get(symbol_name, 0)
230
231
232def strip_braces(value: str) -> str:

Callers 3

__init__Method · 0.85
_all_prop_keysMethod · 0.85
_rebuild_refsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected