from _typeshed import Incomplete

from win32com.server.exception import Exception as Exception
from win32comext.axdebug import codecontainer as codecontainer, contexts as contexts, gateways
from win32comext.axdebug.util import RaiseNotImpl as RaiseNotImpl, trace as trace

def GetGoodFileName(fname): ...

class DebugDocumentProvider(gateways.DebugDocumentProvider):
    doc: Incomplete
    def __init__(self, doc) -> None: ...
    def GetName(self, dnt): ...
    def GetDocumentClassId(self): ...
    def GetDocument(self): ...

# error: Cannot determine consistent method resolution order (MRO) for "DebugDocumentText"
# pyright doesn't have a specific error code for MRO error!
class DebugDocumentText(gateways.DebugDocumentInfo, gateways.DebugDocumentText, gateways.DebugDocument):  # type: ignore[misc]  # pyright: ignore
    codeContainer: Incomplete
    def __init__(self, codeContainer) -> None: ...
    def GetName(self, dnt): ...
    def GetDocumentClassId(self): ...
    def GetSize(self): ...
    def GetPositionOfLine(self, cLineNumber): ...
    def GetLineOfPosition(self, charPos): ...
    def GetText(self, charPos, maxChars, wantAttr): ...
    def GetPositionOfContext(self, context): ...
    def GetContextOfPosition(self, charPos, maxChars): ...

class CodeContainerProvider:
    ccsAndNodes: Incomplete
    def AddCodeContainer(self, cc, node: Incomplete | None = ...) -> None: ...
    def FromFileName(self, fname): ...
    def Close(self) -> None: ...

0857594406e8e153fb484088bdf8b8d1bf9ca405
<mask token>


class DebugDocumentText(gateways.DebugDocumentInfo, gateways.
    DebugDocumentText, gateways.DebugDocument):
    codeContainer: Incomplete
    <mask token>

    def GetName(self, dnt):
        ...

    def GetDocumentClassId(self):
        ...
    <mask token>

    def GetPositionOfLine(self, cLineNumber):
        ...

    def GetLineOfPosition(self, charPos):
        ...

    def GetText(self, charPos, maxChars, wantAttr):
        ...
    <mask token>

    def GetContextOfPosition(self, charPos, maxChars):
        ...


class CodeContainerProvider:
    ccsAndNodes: Incomplete

    def AddCodeContainer(self, cc, node: (Incomplete | None)=...) ->None:
        ...

    def FromFileName(self, fname):
        ...

    def Close(self) ->None:
        ...

<mask token>


class DebugDocumentProvider(gateways.DebugDocumentProvider):
    doc: Incomplete

    def __init__(self, doc) ->None:
        ...

    def GetName(self, dnt):
        ...

    def GetDocumentClassId(self):
        ...

    def GetDocument(self):
        ...


class DebugDocumentText(gateways.DebugDocumentInfo, gateways.
    DebugDocumentText, gateways.DebugDocument):
    codeContainer: Incomplete

    def __init__(self, codeContainer) ->None:
        ...

    def GetName(self, dnt):
        ...

    def GetDocumentClassId(self):
        ...

    def GetSize(self):
        ...

    def GetPositionOfLine(self, cLineNumber):
        ...

    def GetLineOfPosition(self, charPos):
        ...

    def GetText(self, charPos, maxChars, wantAttr):
        ...

    def GetPositionOfContext(self, context):
        ...

    def GetContextOfPosition(self, charPos, maxChars):
        ...


class CodeContainerProvider:
    ccsAndNodes: Incomplete

    def AddCodeContainer(self, cc, node: (Incomplete | None)=...) ->None:
        ...

    def FromFileName(self, fname):
        ...

    def Close(self) ->None:
        ...

<mask token>


def GetGoodFileName(fname):
    ...


class DebugDocumentProvider(gateways.DebugDocumentProvider):
    doc: Incomplete

    def __init__(self, doc) ->None:
        ...

    def GetName(self, dnt):
        ...

    def GetDocumentClassId(self):
        ...

    def GetDocument(self):
        ...


class DebugDocumentText(gateways.DebugDocumentInfo, gateways.
    DebugDocumentText, gateways.DebugDocument):
    codeContainer: Incomplete

    def __init__(self, codeContainer) ->None:
        ...

    def GetName(self, dnt):
        ...

    def GetDocumentClassId(self):
        ...

    def GetSize(self):
        ...

    def GetPositionOfLine(self, cLineNumber):
        ...

    def GetLineOfPosition(self, charPos):
        ...

    def GetText(self, charPos, maxChars, wantAttr):
        ...

    def GetPositionOfContext(self, context):
        ...

    def GetContextOfPosition(self, charPos, maxChars):
        ...


class CodeContainerProvider:
    ccsAndNodes: Incomplete

    def AddCodeContainer(self, cc, node: (Incomplete | None)=...) ->None:
        ...

    def FromFileName(self, fname):
        ...

    def Close(self) ->None:
        ...

from _typeshed import Incomplete
from win32com.server.exception import Exception as Exception
from win32comext.axdebug import codecontainer as codecontainer, contexts as contexts, gateways
from win32comext.axdebug.util import RaiseNotImpl as RaiseNotImpl, trace as trace


def GetGoodFileName(fname):
    ...


class DebugDocumentProvider(gateways.DebugDocumentProvider):
    doc: Incomplete

    def __init__(self, doc) ->None:
        ...

    def GetName(self, dnt):
        ...

    def GetDocumentClassId(self):
        ...

    def GetDocument(self):
        ...


class DebugDocumentText(gateways.DebugDocumentInfo, gateways.
    DebugDocumentText, gateways.DebugDocument):
    codeContainer: Incomplete

    def __init__(self, codeContainer) ->None:
        ...

    def GetName(self, dnt):
        ...

    def GetDocumentClassId(self):
        ...

    def GetSize(self):
        ...

    def GetPositionOfLine(self, cLineNumber):
        ...

    def GetLineOfPosition(self, charPos):
        ...

    def GetText(self, charPos, maxChars, wantAttr):
        ...

    def GetPositionOfContext(self, context):
        ...

    def GetContextOfPosition(self, charPos, maxChars):
        ...


class CodeContainerProvider:
    ccsAndNodes: Incomplete

    def AddCodeContainer(self, cc, node: (Incomplete | None)=...) ->None:
        ...

    def FromFileName(self, fname):
        ...

    def Close(self) ->None:
        ...

from _typeshed import Incomplete

from win32com.server.exception import Exception as Exception
from win32comext.axdebug import codecontainer as codecontainer, contexts as contexts, gateways
from win32comext.axdebug.util import RaiseNotImpl as RaiseNotImpl, trace as trace

def GetGoodFileName(fname): ...

class DebugDocumentProvider(gateways.DebugDocumentProvider):
    doc: Incomplete
    def __init__(self, doc) -> None: ...
    def GetName(self, dnt): ...
    def GetDocumentClassId(self): ...
    def GetDocument(self): ...

# error: Cannot determine consistent method resolution order (MRO) for "DebugDocumentText"
# pyright doesn't have a specific error code for MRO error!
class DebugDocumentText(gateways.DebugDocumentInfo, gateways.DebugDocumentText, gateways.DebugDocument):  # type: ignore[misc]  # pyright: ignore
    codeContainer: Incomplete
    def __init__(self, codeContainer) -> None: ...
    def GetName(self, dnt): ...
    def GetDocumentClassId(self): ...
    def GetSize(self): ...
    def GetPositionOfLine(self, cLineNumber): ...
    def GetLineOfPosition(self, charPos): ...
    def GetText(self, charPos, maxChars, wantAttr): ...
    def GetPositionOfContext(self, context): ...
    def GetContextOfPosition(self, charPos, maxChars): ...

class CodeContainerProvider:
    ccsAndNodes: Incomplete
    def AddCodeContainer(self, cc, node: Incomplete | None = ...) -> None: ...
    def FromFileName(self, fname): ...
    def Close(self) -> None: ...
