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

Method _parse_source_flags

deps/v8/test/debugging/testcfg.py:50–55  ·  view source on GitHub ↗
(self, source=None)

Source from the content-addressed store, hash-verified

48 return files
49
50 def _parse_source_flags(self, source=None):
51 source = source or self.get_source()
52 flags = []
53 for match in re.findall(PY_FLAGS_PATTERN, source):
54 flags += shlex.split(match.strip())
55 return flags
56
57 def _expected_fail(self):
58 return 'fail' in self.path.parts

Callers 8

__init__Method · 0.95
__init__Method · 0.95
__init__Method · 0.95
__init__Method · 0.95
__init__Method · 0.95
__init__Method · 0.95
__init__Method · 0.95
__init__Method · 0.45

Calls 2

get_sourceMethod · 0.95
splitMethod · 0.45

Tested by

no test coverage detected