1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
# © Copyright 2020-2025 Mikołaj Kuranowski
# SPDX-License-Identifier: MIT
from typing import AsyncIterator, Awaitable, List
from typing_extensions import Self
from .protocols import DialectLike, WithAsyncRead
class Parser:
"""Return type of the "Parser" function, not accessible from Python."""
def __new__(cls, reader: WithAsyncRead, dialect: DialectLike) -> Self: ...
def __aiter__(self) -> AsyncIterator[List[str]]: ...
def __anext__(self) -> Awaitable[List[str]]: ...
@property
def line_num(self) -> int: ...
|