class RubyLex
def prompt(opens, continue, line_num_offset)
def prompt(opens, continue, line_num_offset) ltype = ltype_from_open_tokens(opens) indent_level = calc_indent_level(opens) @prompt&.call(ltype, indent_level, opens.any? || continue, @line_no + line_num_offset) end