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

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

Instance Method Summary collapse

Instance Method Details

#declaration_sequenceObject



392
393
394
# File 'lib/treetop/compiler/metagrammar.rb', line 392

def declaration_sequence
  elements[5]
end

#grammar_nameObject



384
385
386
# File 'lib/treetop/compiler/metagrammar.rb', line 384

def grammar_name
  elements[2]
end

#space1Object



380
381
382
# File 'lib/treetop/compiler/metagrammar.rb', line 380

def space1
  elements[1]
end

#space2Object



388
389
390
# File 'lib/treetop/compiler/metagrammar.rb', line 388

def space2
  elements[3]
end