class Rufo::Formatter
def consume_token_value(value)
def consume_token_value(value) write value # If the value has newlines, we need to adjust line and column number_of_lines = value.count("\n") if number_of_lines > 0 @line += number_of_lines last_line_index = value.rindex("\n") @column = value.size - (last_line_index + 1) @last_was_newline = @column == 0 end end