Bases: Symbol
Represents a local variable.
Source code in src/library_analyzer/processing/api/purity_analysis/model/_module_data.py
| @dataclass
class LocalVariable(Symbol):
"""Represents a local variable."""
def __hash__(self) -> int:
return hash(str(self))
def __str__(self) -> str:
return f"{self.__class__.__name__}.{self.name}.line{self.id.line}"
|
__hash__()
Source code in src/library_analyzer/processing/api/purity_analysis/model/_module_data.py
| def __hash__(self) -> int:
return hash(str(self))
|
__str__()
Source code in src/library_analyzer/processing/api/purity_analysis/model/_module_data.py
| def __str__(self) -> str:
return f"{self.__class__.__name__}.{self.name}.line{self.id.line}"
|