Home
last modified time | relevance | path

Searched refs:tvar_scope (Results 1 – 5 of 5) sorted by relevance

/dports/devel/py-mypy/mypy-0.910/mypy/
H A Dtypeanal.py29 from mypy.tvar_scope import TypeVarLikeScope
68 tvar_scope: TypeVarLikeScope,
123 tvar_scope: TypeVarLikeScope,
138 self.tvar_scope = tvar_scope
206 tvar_def = self.tvar_scope.get_binding(sym)
688 tvar_def = self.tvar_scope.get_binding(sym)
892 old_scope = self.tvar_scope
893 self.tvar_scope = self.tvar_scope.method_frame()
895 self.tvar_scope = old_scope
931 self.tvar_scope.bind_new(var.name, var_expr)
[all …]
H A Dsemanal_shared.py17 from mypy.tvar_scope import TypeVarLikeScope
118 tvar_scope: Optional[TypeVarLikeScope] = None,
H A Dsemanal.py81 from mypy.tvar_scope import TypeVarLikeScope
178 tvar_scope = None # type: TypeVarLikeScope variable in SemanticAnalyzer
255 self.tvar_scope = TypeVarLikeScope()
519 self.tvar_scope = TypeVarLikeScope()
4565 old_scope = self.tvar_scope
4566 self.tvar_scope = frame
4568 self.tvar_scope = old_scope
4914 if tvar_scope is None:
4915 tvar_scope = self.tvar_scope
4917 tvar_scope,
[all …]
H A Dplugin.py129 from mypy.tvar_scope import TypeVarLikeScope
268 tvar_scope: Optional[TypeVarLikeScope] = None,
/dports/devel/py-mypy/mypy-0.910/test-data/unit/
H A Dcheck-generics.test1496 -- We need to store whole tvar_scope, not only active class.