class Rufo::Formatter
def indent_after_space(node, sticky: false, want_space: true, first_space: nil, needed_indent: next_indent, token_column: nil, base_column: nil, preserve_whitespace:)
def indent_after_space(node, sticky: false, want_space: true, first_space: nil, needed_indent: next_indent, token_column: nil, base_column: nil, preserve_whitespace:) first_space = current_token if space? skip_space case current_token_kind when :on_ignored_nl, :on_comment indent(needed_indent) do consume_end_of_line end if token_column && base_column && token_column == current_token_column # If the expression is aligned with the one above, keep it like that indent(base_column) do write_indent visit node end else indent(needed_indent) do write_indent visit node end end else if want_space if first_space && preserve_whitespace write_space first_space[2] else write_space end end if sticky indent(@column) do visit node end else visit node end end end