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

Method _Compile

deps/v8/tools/cppgc/gen_cmake_test.py:98–103  ·  view source on GitHub ↗
(self, gn_string)

Source from the content-addressed store, hash-verified

96 """)
97
98 def _Compile(self, gn_string):
99 gn_code = f'v8_component({self.TARGET}) {{ {gn_string} }}'
100 tree = ParseGN(gn_code)
101 builder = CMakeMockBuilder()
102 V8GNTransformer(builder, [self.TARGET]).Traverse(tree)
103 return builder.GetResult()
104
105 def _CompileAndCheck(self, expected_cmake, gn_string):
106 actual_cmake = self._Compile(gn_string)

Callers 2

_CompileAndCheckMethod · 0.95

Calls 5

ParseGNFunction · 0.90
V8GNTransformerClass · 0.90
CMakeMockBuilderClass · 0.85
TraverseMethod · 0.80
GetResultMethod · 0.80

Tested by

no test coverage detected