The value is the name.
| 114 | |
| 115 | |
| 116 | class NameLeaf(Leaf): |
| 117 | """The value is the name.""" |
| 118 | |
| 119 | def __str__(self) -> str: |
| 120 | if self.value == "ENDMARKER": |
| 121 | return "$" |
| 122 | return super().__str__() |
| 123 | |
| 124 | def __repr__(self) -> str: |
| 125 | return f"NameLeaf({self.value!r})" |
| 126 | |
| 127 | |
| 128 | class StringLeaf(Leaf): |
no outgoing calls
no test coverage detected
searching dependent graphs…