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

Method parse_arguments

deps/v8/tools/dev/gm.py:809–820  ·  view source on GitHub ↗
(self, argv)

Source from the content-addressed store, hash-verified

807 self.populate_configs(arches, modes, targets, tests, clean)
808
809 def parse_arguments(self, argv):
810 if len(argv) == 0:
811 print_help_and_exit()
812 if len(argv) >= 2 and argv[0] == "args" and os.path.exists(argv[1]):
813 code = _call(f"gn args {argv[1]}")
814 sys.exit(code)
815 for argstring in argv:
816 self.parse_arg(argstring)
817 self.process_global_actions()
818 for c in self.configs:
819 self.configs[c].extend(self.global_targets, self.global_tests)
820 return self.configs
821
822
823def main(argv):

Callers 1

mainFunction · 0.95

Calls 7

parse_argMethod · 0.95
print_help_and_exitFunction · 0.85
_callFunction · 0.85
existsMethod · 0.45
exitMethod · 0.45
extendMethod · 0.45

Tested by

no test coverage detected