MCPcopy Index your code
hub / github.com/nodejs/node / repl_at

Function repl_at

tools/prepare_lief.py:56–58  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

54def cmake_configure_in(template: str, values: dict) -> str:
55 # Handle @VAR@ replacement and #cmakedefine VAR @VAR@
56 def repl_at(m):
57 var = m.group(1)
58 return str(values.get(var, ""))
59
60 # Replace @VAR@
61 s = re.sub(r"@([A-Za-z0-9_]+)@", repl_at, template)

Callers

nothing calls this directly

Calls 2

strFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…