MCPcopy Create free account
hub / github.com/facebook/chisel / run

Method run

commands/FBClassDump.py:70–85  ·  view source on GitHub ↗
(self, arguments, options)

Source from the content-addressed store, hash-verified

68 ]
69
70 def run(self, arguments, options):
71 cls = getClassFromArgument(arguments[0], options.clsname)
72
73 if options.clsmethod:
74 print("Class Methods:")
75 printClassMethods(cls, options.showaddr)
76
77 if options.insmethod:
78 print("\nInstance Methods:")
79 printInstanceMethods(cls, options.showaddr)
80
81 if not options.clsmethod and not options.insmethod:
82 print("Class Methods:")
83 printClassMethods(cls, options.showaddr)
84 print("\nInstance Methods:")
85 printInstanceMethods(cls, options.showaddr)
86
87
88class FBPrintProperties(fb.FBCommand):

Callers

nothing calls this directly

Calls 3

getClassFromArgumentFunction · 0.85
printClassMethodsFunction · 0.85
printInstanceMethodsFunction · 0.85

Tested by

no test coverage detected