15 lines
433 B
Python
15 lines
433 B
Python
|
# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
|
||
|
# For details: https://github.com/pylint-dev/astroid/blob/main/LICENSE
|
||
|
# Copyright (c) https://github.com/pylint-dev/astroid/blob/main/CONTRIBUTORS.txt
|
||
|
|
||
|
from typing import NamedTuple
|
||
|
|
||
|
|
||
|
class Position(NamedTuple):
|
||
|
"""Position with line and column information."""
|
||
|
|
||
|
lineno: int
|
||
|
col_offset: int
|
||
|
end_lineno: int
|
||
|
end_col_offset: int
|