MCPcopy Create free account
hub / github.com/ElementsProject/lightning / enum_name

Method enum_name

tools/generate-wire.py:395–397  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

393 return self.option is not None
394
395 def enum_name(self):
396 name = self.enumname if self.enumname else self.name
397 return "{}_{}".format(self.enum_prefix, name).upper()
398
399 def struct_name(self):
400 if self.struct_prefix:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected