Example #1
0
 def get_member_reference_suffix(self, name: str, info: TypeInfo) -> str:
     if info.has_method(name):
         fdef = cast(FuncDef, info.get_method(name))
         return self.type_suffix(fdef)
     else:
         return ''
Example #2
0
 def get_member_reference_suffix(self, name: str, info: TypeInfo) -> str:
     if info.has_method(name):
         fdef = cast(FuncDef, info.get_method(name))
         return self.type_suffix(fdef)
     else:
         return ''