class Treetop::Compiler::OccurrenceRange

def compile(address, builder, parent_expression)

def compile(address, builder, parent_expression)
  super
  if !min.empty? && min.text_value.to_i != 0
    # We got some, but fewer than we wanted. There'll be a failure reported already
    builder.if__ "#{accumulator_var}.size < #{min.text_value}" do
      reset_index
      assign_failure start_index_var
    end
    builder.else_ do
      clean_unsaturated
      assign_and_extend_result parent_expression
    end
  else
    clean_unsaturated
    assign_and_extend_result parent_expression
  end
  end_comment(parent_expression)
end