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

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

Instance Method Summary collapse

Instance Method Details

#declaration_sequenceObject



504
505
506
# File 'lib/treetop/compiler/metagrammar.rb', line 504

def declaration_sequence
  elements[5]
end

#grammar_nameObject



496
497
498
# File 'lib/treetop/compiler/metagrammar.rb', line 496

def grammar_name
  elements[2]
end

#space1Object



492
493
494
# File 'lib/treetop/compiler/metagrammar.rb', line 492

def space1
  elements[1]
end

#space2Object



500
501
502
# File 'lib/treetop/compiler/metagrammar.rb', line 500

def space2
  elements[3]
end