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

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

Instance Method Summary collapse

Instance Method Details

#declaration_sequenceObject


524
525
526
# File 'lib/treetop/compiler/metagrammar.rb', line 524

def declaration_sequence
  elements[5]
end

#grammar_nameObject


516
517
518
# File 'lib/treetop/compiler/metagrammar.rb', line 516

def grammar_name
  elements[2]
end

#space1Object


512
513
514
# File 'lib/treetop/compiler/metagrammar.rb', line 512

def space1
  elements[1]
end

#space2Object


520
521
522
# File 'lib/treetop/compiler/metagrammar.rb', line 520

def space2
  elements[3]
end