original_docstring: Return a hint for elem, not conflicting with the existing.
docstring: Return a hint for elem, not conflicting with the existing.
docstring_tokens: Return a hint for elem not conflicting with the existing .
code: def new_hint_for(self, elem: webelem.AbstractWebElement,
                       existing: Iterable[str],
                       fallback: Iterable[str]) -> Optional[str]:
          """Return a hint for elem, not conflicting with the existing."""
          new = self.tag_words_to_hints(self.extract_tag_words(elem))
          new_no_prefixes = self.filter_prefixes(new, existing)
          fallback_no_prefixes = self.filter_prefixes(fallback, existing)
          # either the first good, or None
          return (next(new_no_prefixes, None) or
                  next(fallback_no_prefixes, None))
code_tokens: def new_hint_for ( self , elem : webelem . AbstractWebElement , existing : Iterable [ str ] , fallback : Iterable [ str ] ) -> Optional [ str ] : new = self . tag_words_to_hints ( self . extract_tag_words ( elem ) ) new_no_prefixes = self . filter_prefixes ( new , existing ) fallback_no_prefixes = self . filter_prefixes ( fallback , existing ) return ( next ( new_no_prefixes , None ) or next ( fallback_no_prefixes , None ) )
short_docstring: Return a hint for elem, not conflicting with the existing.
short_docstring_tokens: Return a hint for elem not conflicting with the existing .
comment: """Return a hint for elem, not conflicting with the existing."""$SEP$# either the first good, or None