class documentation

class LineSet: (source)

View In Hierarchy

Holds and indexes all the lines of a single source file. Allows for correspondence between real lines of the source file and stripped ones, which are the real ones from which undesired patterns have been removed.

Method __eq__ Undocumented
Method __getitem__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method __len__ Undocumented
Method __lt__ Undocumented
Method __str__ Undocumented
Instance Variable name Undocumented
Property real_lines Undocumented
Property stripped_lines Undocumented
Instance Variable _real_lines Undocumented
Instance Variable _stripped_lines Undocumented
def __eq__(self, other: Any) -> bool: (source)

Undocumented

def __getitem__(self, index: int) -> LineSpecifs: (source)

Undocumented

def __hash__(self) -> int: (source)

Undocumented

def __init__(self, name: str, lines: list[str], ignore_comments: bool = False, ignore_docstrings: bool = False, ignore_imports: bool = False, ignore_signatures: bool = False, line_enabled_callback: Callable[[str, int], bool]|None = None): (source)

Undocumented

def __len__(self) -> int: (source)

Undocumented

def __lt__(self, other: LineSet) -> bool: (source)

Undocumented

def __str__(self) -> str: (source)

Undocumented

Undocumented

Undocumented

Undocumented

_real_lines = (source)

Undocumented

_stripped_lines = (source)

Undocumented