     @outdebt = 0            # The under-outdentation at the current level.
     @indents = []           # The stack of all current indentation levels.
     @tokens  = []           # Stream of parsed tokens in the form ['TYPE', value, line]
-    while @i < @code.length
-      @chunk = @code[@i..]
+    while (@chunk = code[@i..])
       @extractNextToken()
     @closeIndentation()
     return @tokens if o.rewrite is off

    @i += regex.length + flags.length
    true

  # Matches a token in which which the passed delimiter pairs must be correctly
  # balanced (ie. strings, JS literals).
  balancedToken: (delimited...) ->
    @balancedString @chunk, delimited

        @identifierError id
    unless forcedIdentifier
      tag = id = CONVERSIONS[id] if include COFFEE_ALIASES, id
      if id is '!'
        tag = 'UNARY'
      else if include LOGIC, id
        tag = 'LOGIC'
    @token tag, id
    @token ']', ']' if close_index
    true
