class Treetop::Compiler::Sequence

def compile(address, builder, parent_expression = nil)

def compile(address, builder, parent_expression = nil)
  super
  begin_comment(self)
  use_vars :result, :start_index, :accumulator
  compile_sequence_elements(sequence_elements)
  builder.if__ "#{accumulator_var}.last" do
    assign_result "instantiate_node(#{node_class_name},input, #{start_index_var}...index, #{accumulator_var})"
    extend_result sequence_element_accessor_module_name if sequence_element_accessor_module_name
    extend_result_with_inline_module parent_expression
  end
  builder.else_ do
    reset_index
    assign_failure start_index_var
  end
  end_comment(self)
end