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 assign_and_extend_result else # 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 assign_and_extend_result end end end_comment(parent_expression) end