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

Method _parse_source_files

deps/v8/test/webkit/testcfg.py:59–73  ·  view source on GitHub ↗
(self, source)

Source from the content-addressed store, hash-verified

57 self._source_flags = self._parse_source_flags(source)
58
59 def _parse_source_files(self, source):
60 files_list = [] # List of file names to append to command arguments.
61 files_match = FILES_PATTERN.search(source)
62 # Accept several lines of 'Files:'.
63 while True:
64 if files_match:
65 files_list += files_match.group(1).strip().split()
66 files_match = FILES_PATTERN.search(source, files_match.end())
67 else:
68 break
69 files = [self.suite.root.parents[1] / f for f in files_list]
70 files.append(self.suite.root / "resources/standalone-pre.js")
71 files.append(self.suite.root / self.path_js)
72 files.append(self.suite.root / "resources/standalone-post.js")
73 return files
74
75 def _get_files_params(self):
76 files = self._source_files

Callers 1

__init__Method · 0.95

Calls 4

searchMethod · 0.45
splitMethod · 0.45
endMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected