Lines Matching refs:token
2358 token = _get_keyword(match.group(1))
2359 if not token:
2374 tokens = [token]
2394 token = keyword
2398 elif token not in _STRING_LEX:
2409 token = self.const_syms[name] if name in STR_TO_TRI else \
2425 if token is not _T_CHOICE:
2430 token = name
2469 token = \
2470 val if token in _STRING_LEX or tokens[0] is _T_OPTION \
2474 token = _T_AND
2478 token = _T_OR
2482 token = _T_EQUAL
2486 token = _T_UNEQUAL
2490 token = _T_NOT
2494 token = _T_OPEN_PAREN
2498 token = _T_CLOSE_PAREN
2508 token = _T_LESS_EQUAL
2512 token = _T_LESS
2516 token = _T_GREATER_EQUAL
2520 token = _T_GREATER
2534 tokens.append(token)
2548 token = self._tokens[self._tokens_i]
2551 if token.__class__ is not Symbol:
2554 return token
2559 token = self._tokens[1]
2562 if token.__class__ is not Symbol or token.is_constant:
2565 return token
2568 token = self._tokens[self._tokens_i]
2571 if token.__class__ is not str:
2577 return token
2587 def _check_token(self, token): argument
2590 if self._tokens[self._tokens_i] is token:
3427 token = self._tokens[self._tokens_i]
3430 if token.__class__ is Symbol:
3438 if transform_m and token is self.m:
3441 return token
3448 return (self._tokens[self._tokens_i - 1], token,
3451 if token is _T_NOT:
3453 return (token, self._parse_factor(transform_m))
3455 if token is _T_OPEN_PAREN: