Lines Matching refs:nexttok
117 nexttok = next(tokens)
118 while nexttok == '!':
120 nexttok = next(tokens)
122 if nexttok == '(':
123 sub, nexttok = _parse(tokens)
125 if nexttok != ')':
127 elif nexttok == 'n':
128 result = '%s%s' % (result, nexttok)
131 value = int(nexttok, 10)
133 raise _error(nexttok) from None
135 nexttok = next(tokens)
138 while nexttok in _binary_ops:
139 i = _binary_ops[nexttok]
146 op = _c2py_ops.get(nexttok, nexttok)
147 right, nexttok = _parse(tokens, i + 1)
153 if nexttok == '?' and priority <= 0:
154 if_true, nexttok = _parse(tokens, 0)
155 if nexttok != ':':
156 raise _error(nexttok)
157 if_false, nexttok = _parse(tokens)
162 return result, nexttok
184 result, nexttok = _parse(_tokenize(plural))
185 if nexttok:
186 raise _error(nexttok)