MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / _node_text

Function _node_text

scripts/code_verify_rules.py:1163–1164  ·  view source on GitHub ↗
(node, src: bytes)

Source from the content-addressed store, hash-verified

1161
1162
1163def _node_text(node, src: bytes) -> str:
1164 return src[node.start_byte : node.end_byte].decode("utf-8", errors="replace")
1165
1166
1167def _walk(node):

Callers 15

_sink_param_namesFunction · 0.85
_parameter_perf_findingsFunction · 0.85
_cold_branch_line_spanFunction · 0.85
_scan_body_linesFunction · 0.85
_recursion_findingsFunction · 0.85
_find_field_decl_defaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected