Module: Treetop::Compiler::Metagrammar::Grammar1

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

Instance Method Summary collapse

Instance Method Details

#declaration_sequenceObject



250
251
252
# File 'lib/treetop/compiler/metagrammar.rb', line 250

def declaration_sequence
  elements[5]
end

#grammar_nameObject



242
243
244
# File 'lib/treetop/compiler/metagrammar.rb', line 242

def grammar_name
  elements[2]
end

#spaceObject



238
239
240
# File 'lib/treetop/compiler/metagrammar.rb', line 238

def space
  elements[1]
end