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

Function Main

deps/v8/tools/generate-builtins-tests.py:139–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137
138
139def Main():
140 parser = BuildOptions()
141 (options, args) = parser.parse_args()
142 if len(args) != 1 or args[0] == "help":
143 parser.print_help()
144 return 1
145 action = args[0]
146
147 if action == "generate":
148 GenerateTests(options)
149 return 0
150
151 if action == "clear":
152 ClearGeneratedFiles(options)
153 return 0
154
155 print("Unknown action: %s" % action)
156 parser.print_help()
157 return 1
158
159
160if __name__ == "__main__":

Callers 1

Calls 5

GenerateTestsFunction · 0.85
ClearGeneratedFilesFunction · 0.85
BuildOptionsFunction · 0.70
printFunction · 0.70
parse_argsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…