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

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

Instance Method Summary collapse

Instance Method Details

#declaration_sequenceObject



404
405
406
# File 'lib/treetop/compiler/metagrammar.rb', line 404

def declaration_sequence
  elements[5]
end

#grammar_nameObject



396
397
398
# File 'lib/treetop/compiler/metagrammar.rb', line 396

def grammar_name
  elements[2]
end

#space1Object



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

def space1
  elements[1]
end

#space2Object



400
401
402
# File 'lib/treetop/compiler/metagrammar.rb', line 400

def space2
  elements[3]
end