docs: def _is_word_type(token_type):
      """Return true if this is a word-type token."""
      return token_type in [TokenType.Word,
                            TokenType.QuotedLiteral,
                            TokenType.UnquotedLiteral,
                            TokenType.Number,
                            TokenType.Deref]