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

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

Instance Method Summary collapse

Instance Method Details

#declaration_sequenceObject



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

def declaration_sequence
  elements[5]
end

#grammar_nameObject



487
488
489
# File 'lib/treetop/compiler/metagrammar.rb', line 487

def grammar_name
  elements[2]
end

#space1Object



483
484
485
# File 'lib/treetop/compiler/metagrammar.rb', line 483

def space1
  elements[1]
end

#space2Object



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

def space2
  elements[3]
end