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

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

Instance Method Summary collapse

Instance Method Details

#headObject


1153
1154
1155
# File 'lib/treetop/compiler/metagrammar.rb', line 1153

def head
  elements[0]
end

#node_class_declarationsObject


1161
1162
1163
# File 'lib/treetop/compiler/metagrammar.rb', line 1161

def node_class_declarations
  elements[2]
end

#tailObject


1157
1158
1159
# File 'lib/treetop/compiler/metagrammar.rb', line 1157

def tail
  elements[1]
end