Lines Matching refs:previous
43 token = token.previous
48 """Returns the first token in the previous line as token.
54 The first token in the previous line as token, or None if token is on the
58 if first_in_line.previous:
59 return GetFirstTokenInSameLine(first_in_line.previous)
121 previous = token.previous
122 if previous:
123 if func(previous):
124 return previous
125 if end_func and end_func(previous):
128 token = previous
219 # sure the previous and next pointers are still pointing to tokens which are
225 if token.previous:
226 token.previous.next = token.next
229 token.next.previous = token.previous
257 new_token.previous = token.previous
269 token.previous = new_token
270 if new_token.previous:
271 new_token.previous.next = new_token
277 previous_token = new_token.previous
297 new_token.previous = token
313 new_token.next.previous = new_token
445 maybe_goog_scope = (maybe_goog_scope.previous if maybe_goog_scope and
446 maybe_goog_scope.previous else None)
593 prev_token = token.previous
601 prev_token = prev_token.previous
609 # A "var foo" declaration (if the previous token is 'var')
632 # An identifier is part of the previous symbol if it has a trailing
641 # A dot is part of the previous symbol if it does not have a trailing