Exemplo n.º 1
0
 def anal_type(self, tp: UnboundType) -> Type:
     tpan = TypeAnalyser(self.api,
                         None,
                         self.plugin,
                         self.options,
                         self.is_typeshed_stub,
                         third_pass=True)
     res = tp.accept(tpan)
     self.aliases_used = tpan.aliases_used
     return res
Exemplo n.º 2
0
 def anal_type(self, tp: UnboundType) -> Type:
     tpan = TypeAnalyser(self.api,
                         None,
                         self.plugin,
                         self.options,
                         self.is_typeshed_stub,
                         third_pass=True)
     res = tp.accept(tpan)
     self.aliases_used = tpan.aliases_used
     return res
Exemplo n.º 3
0
 def anal_type(self, tp: UnboundType) -> Type:
     tpan = TypeAnalyser(self.lookup_func,
                         self.lookup_fqn_func,
                         None,
                         self.fail,
                         self.note_func,
                         self.plugin,
                         self.options,
                         self.is_typeshed_stub,
                         third_pass=True)
     return tp.accept(tpan)
Exemplo n.º 4
0
 def anal_type(self, tp: UnboundType) -> Type:
     tpan = TypeAnalyser(self.lookup_func,
                         self.lookup_fqn_func,
                         None,
                         self.fail,
                         self.note_func,
                         self.plugin,
                         self.options,
                         self.is_typeshed_stub,
                         third_pass=True)
     return tp.accept(tpan)