Lines Matching refs:nexttok
116 nexttok = next(tokens)
117 while nexttok == '!':
119 nexttok = next(tokens)
121 if nexttok == '(':
122 sub, nexttok = _parse(tokens)
124 if nexttok != ')':
126 elif nexttok == 'n':
127 result = '%s%s' % (result, nexttok)
130 value = int(nexttok, 10)
132 raise _error(nexttok) from None
134 nexttok = next(tokens)
137 while nexttok in _binary_ops:
138 i = _binary_ops[nexttok]
145 op = _c2py_ops.get(nexttok, nexttok)
146 right, nexttok = _parse(tokens, i + 1)
152 if nexttok == '?' and priority <= 0:
153 if_true, nexttok = _parse(tokens, 0)
154 if nexttok != ':':
155 raise _error(nexttok)
156 if_false, nexttok = _parse(tokens)
161 return result, nexttok
183 result, nexttok = _parse(_tokenize(plural))
184 if nexttok:
185 raise _error(nexttok)