File: expressions.pyi

package info (click to toggle)
typeshed 0.0~git20221107.4f381af-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,036 kB
  • sloc: python: 3,216; sh: 62; makefile: 13
file content (69 lines) | stat: -rw-r--r-- 2,117 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from _typeshed import Incomplete

from win32com.server.exception import COMException as COMException
from win32com.server.util import ListEnumeratorGateway
from win32comext.axdebug import gateways
from win32comext.axdebug.util import RaiseNotImpl as RaiseNotImpl

def MakeNiceString(ob): ...

class ProvideExpressionContexts(gateways.ProvideExpressionContexts): ...

class ExpressionContext(gateways.DebugExpressionContext):
    frame: Incomplete
    def __init__(self, frame) -> None: ...
    def ParseLanguageText(self, code, radix, delim, flags): ...
    def GetLanguageInfo(self): ...

class Expression(gateways.DebugExpression):
    callback: Incomplete
    frame: Incomplete
    code: Incomplete
    radix: Incomplete
    delim: Incomplete
    flags: Incomplete
    isComplete: int
    result: Incomplete
    hresult: Incomplete
    def __init__(self, frame, code, radix, delim, flags) -> None: ...
    def Start(self, callback): ...
    def Abort(self) -> None: ...
    def QueryIsComplete(self): ...
    def GetResultAsString(self): ...
    def GetResultAsDebugProperty(self): ...

def MakeEnumDebugProperty(object, dwFieldSpec, nRadix, iid, stackFrame: Incomplete | None = ...): ...
def GetPropertyInfo(
    obname,
    obvalue,
    dwFieldSpec,
    nRadix,
    hresult: int = ...,
    dictionary: Incomplete | None = ...,
    stackFrame: Incomplete | None = ...,
): ...

class EnumDebugPropertyInfo(ListEnumeratorGateway):
    def GetCount(self): ...

class DebugProperty:
    name: Incomplete
    value: Incomplete
    parent: Incomplete
    hresult: Incomplete
    dictionary: Incomplete
    stackFrame: Incomplete
    def __init__(
        self,
        name,
        value,
        parent: Incomplete | None = ...,
        hresult: int = ...,
        dictionary: Incomplete | None = ...,
        stackFrame: Incomplete | None = ...,
    ) -> None: ...
    def GetPropertyInfo(self, dwFieldSpec, nRadix): ...
    def GetExtendedInfo(self) -> None: ...
    def SetValueAsString(self, value, radix) -> None: ...
    def EnumMembers(self, dwFieldSpec, nRadix, iid): ...
    def GetParent(self) -> None: ...