MCPcopy Create free account
hub / github.com/vispy/vispy / from_function_def

Method from_function_def

codegen/headerparser.py:310–314  ·  view source on GitHub ↗
(cls, func_def)

Source from the content-addressed store, hash-verified

308class FunctionGroup(FunctionDefinition):
309 @classmethod
310 def from_function_def(cls, func_def):
311 keyDef = cls(func_def.line)
312 keyDef.parse_line()
313 keyDef._set_name(func_def.keyname)
314 return keyDef
315
316 def parse_line(self):
317 super().parse_line()

Callers 1

parseMethod · 0.80

Calls 3

clsClass · 0.85
_set_nameMethod · 0.80
parse_lineMethod · 0.45

Tested by

no test coverage detected