Searched refs:previous_token (Results 1 – 9 of 9) sorted by relevance
57 tok.previous_token = self._tokens[index]108 uwline.first.previous_token = None120 token.previous_token = self.last222 left.previous_token and _IsIdNumberStringToken(left.previous_token)):375 if prev_token.is_comment or (prev_token.previous_token and377 prev_token.previous_token.is_comment):435 previous_token = tok.previous_token436 while previous_token:437 if previous_token.value == ')':439 elif previous_token.value == '}':[all …]
133 previous = current.previous_token154 token = previous.previous_token156 prev = token.previous_token159 token = token.previous_token172 previous = current.previous_token249 pptoken = previous.previous_token296 if previous.value == '{' and previous.previous_token:297 opening = _GetOpeningBracket(previous.previous_token)298 if (opening and opening.value == '(' and opening.previous_token and299 opening.previous_token.is_name):[all …]
124 if not prev_tok.previous_token.is_multiline_string:125 prev_lineno = prev_tok.previous_token.lineno178 previous_token = state.next_token.previous_token179 previous_lineno = previous_token.lineno181 if previous_token.is_multiline_string or previous_token.is_string:182 previous_lineno += previous_token.value.count('\n')184 if previous_token.is_continuation:242 last = last.previous_token262 if (tok.previous_token.value == ':' or
122 self.previous_token = None183 previous = self.previous_token188 previous = previous.previous_token199 cur_lineno != previous.previous_token.lineno)):
53 return self.expr_token.previous_token
88 …preamble(0), strings(0), previous_token('\n'), parseContext(pc), includer(inclr), inComment(false), in TPpContext()
1064 if (previous_token == '\n') { in tokenize()1076 previous_token = token; in tokenize()
301 int previous_token; variable
175 previous_token, previous_condition = pop_stack()