MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / _local_names

Function _local_names

tests/unit/parsers/test_kotlin_parser.py:559–565  ·  view source on GitHub ↗
(parsed: dict)

Source from the content-addressed store, hash-verified

557
558
559def _local_names(parsed: dict) -> set[str]:
560 return (
561 {f["name"] for f in parsed["functions"]}
562 | {c["name"] for c in parsed["classes"]}
563 | {c["name"] for c in parsed.get("interfaces", [])}
564 | {c["name"] for c in parsed.get("objects", [])}
565 )
566
567
568def _local_imports(parsed: dict) -> dict:

Calls 1

getMethod · 0.65

Tested by

no test coverage detected