Return True if this query run contains only digit tokens.
(self)
| 789 | return enumerate(self.tokens, self.start) |
| 790 | |
| 791 | def is_digits_only(self): |
| 792 | """ |
| 793 | Return True if this query run contains only digit tokens. |
| 794 | """ |
| 795 | # FIXME: this should be cached |
| 796 | return intbitset(self.tokens).issubset(self.digit_only_tids) |
| 797 | |
| 798 | def is_matchable(self, include_low=False, qspans=None): |
| 799 | """ |