Module: Treetop::Compiler::Metagrammar::Sequence1

Defined in:
lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#headObject



1062
1063
1064
# File 'lib/treetop/compiler/metagrammar.rb', line 1062

def head
  elements[0]
end

#node_class_declarationsObject



1070
1071
1072
# File 'lib/treetop/compiler/metagrammar.rb', line 1070

def node_class_declarations
  elements[2]
end

#tailObject



1066
1067
1068
# File 'lib/treetop/compiler/metagrammar.rb', line 1066

def tail
  elements[1]
end