module Treetop::Compiler::Metagrammar::Sequence2

def inline_module_name

def inline_module_name
  node_class_declarations.inline_module_name
end

def inline_modules

def inline_modules
  (sequence_elements.map {|elt| elt.inline_modules}).flatten +
  [sequence_element_accessor_module] +
  node_class_declarations.inline_modules
end

def sequence_elements

def sequence_elements
  [head] + tail
end

def tail

def tail
  super.elements.map {|elt| elt.labeled_sequence_primary }
end