MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / label

Method label

code2flow/model.py:342–349  ·  view source on GitHub ↗

Labels are what you see on the graph :rtype: str

(self)

Source from the content-addressed store, hash-verified

340 return djoin(ret)
341
342 def label(self):
343 """
344 Labels are what you see on the graph
345 :rtype: str
346 """
347 if self.line_number is not None:
348 return f"{self.line_number}: {self.token}()"
349 return f"{self.token}()"
350
351 def remove_from_parent(self):
352 """

Callers 4

to_dotMethod · 0.95
to_dictMethod · 0.95
map_itFunction · 0.45
__lt__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected