MCPcopy Create free account
hub / github.com/ddnet/ddnet / EmitDeclaration

Method EmitDeclaration

datasrc/datatypes.py:61–62  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

59 return self._id
60
61 def EmitDeclaration(self, name):
62 return [f"{self.TypeName()} {FormatName(self.TypeName(), name)};"]
63
64 def EmitPreDefinition(self, target_name):
65 self._target_name = target_name

Callers

nothing calls this directly

Calls 2

TypeNameMethod · 0.95
FormatNameFunction · 0.70

Tested by

no test coverage detected