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

Method Main

deps/v8/tools/mb/mb.py:96–111  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

94 'win') else 'isolate'
95
96 def Main(self, args):
97 self.ParseArgs(args)
98 try:
99 ret = self.args.func()
100 if ret:
101 self.DumpInputFiles()
102 return ret
103 except KeyboardInterrupt:
104 self.Print('interrupted, exiting')
105 return 130
106 except Exception:
107 self.DumpInputFiles()
108 s = traceback.format_exc()
109 for l in s.splitlines():
110 self.Print(l)
111 return 1
112
113 def ParseArgs(self, argv):
114 def AddCommonOptions(subp):

Callers 3

mainFunction · 0.95
_CallMainMethod · 0.80
checkMethod · 0.80

Calls 5

ParseArgsMethod · 0.95
DumpInputFilesMethod · 0.95
PrintMethod · 0.95
funcMethod · 0.45
splitlinesMethod · 0.45

Tested by 2

_CallMainMethod · 0.64
checkMethod · 0.64