MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / variable

Method variable

tools/ninja_syntax.py:52–59  ·  view source on GitHub ↗
(
        self,
        key: str,
        value: Optional[NinjaPathOrPaths],
        indent: int = 0,
    )

Source from the content-addressed store, hash-verified

50 self.output.write("# " + line + "\n")
51
52 def variable(
53 self,
54 key: str,
55 value: Optional[NinjaPathOrPaths],
56 indent: int = 0,
57 ) -> None:
58 value = " ".join(serialize_paths(value))
59 self._line("%s = %s" % (key, value), indent)
60
61 def pool(self, name: str, depth: int) -> None:
62 self._line("pool %s" % name)

Callers 4

generate_build_ninjaFunction · 0.95
poolMethod · 0.95
ruleMethod · 0.95
buildMethod · 0.95

Calls 2

_lineMethod · 0.95
serialize_pathsFunction · 0.85

Tested by

no test coverage detected