Definition at line 62 of file WriteTracker.py.
◆ __init__()
Definition at line 63 of file WriteTracker.py.
63 def __init__(self, location: CallLocation, rest_of_stack: list[CallLocation]):
64 self.location = location
65 self.rest_of_stack = rest_of_stack
66
◆ __eq__()
selfie_lib.WriteTracker.CallStack.__eq__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Definition at line 73 of file WriteTracker.py.
73 def __eq__(self, other):
74 if not isinstance(other, CallStack):
75 return NotImplemented
76 return (
77 self.location == other.location
78 and self.rest_of_stack == other.rest_of_stack
79 )
80
◆ __hash__()
selfie_lib.WriteTracker.CallStack.__hash__ |
( |
|
self | ) |
|
Definition at line 81 of file WriteTracker.py.
81 def __hash__(self):
82 return hash((self.location, tuple(self.rest_of_stack)))
83
84
◆ ide_link()
str selfie_lib.WriteTracker.CallStack.ide_link |
( |
|
self, |
|
|
"SnapshotFileLayout" |
layout |
|
) |
| |
Definition at line 67 of file WriteTracker.py.
67 def ide_link(self, layout: "SnapshotFileLayout") -> str:
68 links = [self.location.ide_link(layout)] + [
69 loc.ide_link(layout) for loc in self.rest_of_stack
70 ]
71 return "\n".join(links)
72
◆ location
selfie_lib.WriteTracker.CallStack.location |
◆ rest_of_stack
selfie_lib.WriteTracker.CallStack.rest_of_stack |
The documentation for this class was generated from the following file: