MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / __init__

Method __init__

tests/external/gmock-1.7.0/scripts/generator/cpp/ast.py:360–368  ·  view source on GitHub ↗
(self, start, end, name, return_type, parameters,
                 modifiers, templated_types, body, namespace)

Source from the content-addressed store, hash-verified

358
359class Function(_GenericDeclaration):
360 def __init__(self, start, end, name, return_type, parameters,
361 modifiers, templated_types, body, namespace):
362 _GenericDeclaration.__init__(self, start, end, name, namespace)
363 converter = TypeConverter(namespace)
364 self.return_type = converter.CreateReturnType(return_type)
365 self.parameters = converter.ToParameters(parameters)
366 self.modifiers = modifiers
367 self.body = body
368 self.templated_types = templated_types
369
370 def IsDeclaration(self):
371 return self.body is None

Callers

nothing calls this directly

Calls 4

CreateReturnTypeMethod · 0.95
ToParametersMethod · 0.95
TypeConverterClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected