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

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

Instance Method Summary collapse

Instance Method Details

#compileObject



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

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