mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-10 18:36:31 +08:00
Update most test/lint dependencies (#15582)
This commit is contained in:
@@ -32,7 +32,7 @@ class ParserRuleContext(RuleContext):
|
||||
def getChild(self, i: int, ttype: type[_GenericType] | None = None) -> _GenericType | None: ...
|
||||
def getChildren(
|
||||
self, predicate: Callable[[ParseTree | TerminalNode], bool] | None = None
|
||||
) -> Generator[ParseTree | TerminalNode, None, None]: ...
|
||||
) -> Generator[ParseTree | TerminalNode]: ...
|
||||
def getToken(self, ttype: int, i: int) -> TerminalNode | None: ...
|
||||
def getTokens(self, ttype: int) -> list[TerminalNode]: ...
|
||||
def getTypedRuleContext(self, ctxType: type[_ParserRuleContextT], i: int) -> _ParserRuleContextT | None: ...
|
||||
|
||||
@@ -25,7 +25,7 @@ class RuleContext(RuleNode):
|
||||
def setAltNumber(self, altNumber: int) -> None: ...
|
||||
def getChild(self, i: int) -> Any: ...
|
||||
def getChildCount(self) -> int: ...
|
||||
def getChildren(self) -> Generator[Any, None, None]: ...
|
||||
def getChildren(self) -> Generator[Any]: ...
|
||||
def accept(self, visitor: ParseTreeVisitor) -> None: ...
|
||||
def toStringTree(self, ruleNames: list[str] | None = None, recog: Recognizer | None = None) -> str: ...
|
||||
def toString(self, ruleNames: list[str], stop: RuleContext) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user