@@ -1596,7 +1596,7 @@ class ConstantValue(metaclass=_metaclass):
15961596 def isTrue (self ) -> bool : ...
15971597 def size (self ) -> int : ...
15981598 @property
1599- def value (self ) -> Any : ...
1599+ def value (self ) -> SVInt | float | list | dict | Null | None : ...
16001600
16011601class Constraint (metaclass = _metaclass ):
16021602 def __repr__ (self ) -> str : ...
@@ -5161,7 +5161,7 @@ class MatchesClauseSyntax(SyntaxNode):
51615161
51625162class MemberAccessExpression (Expression ):
51635163 @property
5164- def member (self ) -> Any : ...
5164+ def member (self ) -> Symbol : ...
51655165 @property
51665166 def value (self ) -> Expression : ...
51675167
@@ -5228,15 +5228,15 @@ class MethodPrototypeSymbol(Symbol, Scope):
52285228 @property
52295229 def arguments (self ) -> list [FormalArgumentSymbol ]: ...
52305230 @property
5231- def firstExternImpl (self ) -> Any : ...
5231+ def firstExternImpl (self ) -> ExternImpl : ...
52325232 @property
52335233 def flags (self ) -> MethodFlags : ...
52345234 @property
52355235 def isVirtual (self ) -> bool : ...
52365236 @property
52375237 def override (self ) -> Symbol : ...
52385238 @property
5239- def returnType (self ) -> Any : ...
5239+ def returnType (self ) -> Type : ...
52405240 @property
52415241 def subroutine (self ) -> SubroutineSymbol : ...
52425242 @property
@@ -5534,13 +5534,13 @@ class NetType(Symbol):
55345534 @staticmethod
55355535 def getSimulatedNetType (internal : NetType , external : NetType , shouldWarn : bool ) -> NetType : ...
55365536 @property
5537- def declaredType (self ) -> Any : ...
5537+ def declaredType (self ) -> DeclaredType : ...
55385538 @property
55395539 def isBuiltIn (self ) -> bool : ...
55405540 @property
55415541 def isError (self ) -> bool : ...
55425542 @property
5543- def netKind (self ) -> Any : ...
5543+ def netKind (self ) -> NetKind : ...
55445544 @property
55455545 def resolutionFunction (self ) -> SubroutineSymbol : ...
55465546
@@ -6079,7 +6079,7 @@ class PrimitiveSymbol(Symbol, Scope):
60796079 @property
60806080 def ports (self ) -> list [PrimitivePortSymbol ]: ...
60816081 @property
6082- def primitiveKind (self ) -> Any : ...
6082+ def primitiveKind (self ) -> PrimitiveKind : ...
60836083 @property
60846084 def table (self ) -> list [Any ]: ...
60856085
@@ -6765,9 +6765,9 @@ class ScopedNameSyntax(NameSyntax):
67656765class ScriptSession (metaclass = _metaclass ):
67666766 def __init__ (self ) -> None : ...
67676767 def eval (self , text : str ) -> ConstantValue : ...
6768- def evalExpression (self , expr : Any ) -> Any : ...
6769- def evalStatement (self , expr : Any ) -> None : ...
6770- def getDiagnostics (self ) -> Any : ...
6768+ def evalExpression (self , expr : ExpressionSyntax ) -> ConstantValue : ...
6769+ def evalStatement (self , expr : StatementSyntax ) -> None : ...
6770+ def getDiagnostics (self ) -> Diagnostics : ...
67716771 @property
67726772 def compilation (self ) -> Compilation : ...
67736773
@@ -6828,7 +6828,7 @@ class SequenceRepetition(metaclass=_metaclass):
68286828 Nonconsecutive = Kind .Nonconsecutive
68296829
68306830 @property
6831- def kind (self ) -> Any : ...
6831+ def kind (self ) -> Kind : ...
68326832 @property
68336833 def range (self ) -> SequenceRange : ...
68346834
@@ -7119,7 +7119,7 @@ class StandardRsCaseItemSyntax(RsCaseItemSyntax):
71197119
71207120class Statement (metaclass = _metaclass ):
71217121 def __repr__ (self ) -> str : ...
7122- def eval (self , context : EvalContext ) -> Any : ...
7122+ def eval (self , context : EvalContext ) -> EvalResult : ...
71237123 def visit (self , f : typing .Any ) -> None :
71247124 """Visit a pyslang object with a callback function `f`.
71257125 The callback function `f` should take a single argument, which is the current node being
@@ -7138,7 +7138,7 @@ class Statement(metaclass=_metaclass):
71387138 @property
71397139 def sourceRange (self ) -> SourceRange : ...
71407140 @property
7141- def syntax (self ) -> Any : ...
7141+ def syntax (self ) -> StatementSyntax : ...
71427142
71437143class StatementBlockKind (metaclass = _metaclass ):
71447144 JoinAll : ClassVar [StatementBlockKind ]
@@ -7315,7 +7315,7 @@ class StrongWeakAssertionExpr(AssertionExpr):
73157315 @property
73167316 def expr (self ) -> AssertionExpr : ...
73177317 @property
7318- def strength (self ) -> Any : ...
7318+ def strength (self ) -> Strength : ...
73197319
73207320class StrongWeakPropertyExprSyntax (PropertyExprSyntax ):
73217321 closeParen : Token
0 commit comments