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

Method _parse_source_flags

deps/v8/tools/testrunner/objects/testcase.py:528–533  ·  view source on GitHub ↗
(self, source=None)

Source from the content-addressed store, hash-verified

526 )
527
528 def _parse_source_flags(self, source=None):
529 source = source or self.get_source()
530 flags = []
531 for match in re.findall(FLAGS_PATTERN, source):
532 flags += shlex.split(match.strip())
533 return flags
534
535 def is_source_available(self):
536 return self._get_source_path() is not None

Callers

nothing calls this directly

Calls 2

get_sourceMethod · 0.95
splitMethod · 0.45

Tested by

no test coverage detected