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

Method token_with_ownership

code2flow/model.py:321–328  ·  view source on GitHub ↗

Token which includes what group this is a part of :rtype: str

(self)

Source from the content-addressed store, hash-verified

319 and self.parent.group_type in (GROUP_TYPE.CLASS, GROUP_TYPE.NAMESPACE))
320
321 def token_with_ownership(self):
322 """
323 Token which includes what group this is a part of
324 :rtype: str
325 """
326 if self.is_attr():
327 return djoin(self.parent.token, self.token)
328 return self.token
329
330 def namespace_ownership(self):
331 """

Callers 3

nameMethod · 0.95
_find_target_nodeFunction · 0.80
map_itFunction · 0.80

Calls 2

is_attrMethod · 0.95
djoinFunction · 0.85

Tested by

no test coverage detected