Module: Treetop::Compiler::Metagrammar::TreetopFile1

Defined in:
lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#compileObject



25
26
27
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 25

def compile
  prefix.text_value + module_or_grammar.compile + suffix.text_value
end