Module: Treetop::Compiler::Metagrammar::ModuleDeclaration4

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

Instance Method Summary collapse

Instance Method Details

#module_contentsObject



286
287
288
# File 'lib/treetop/compiler/metagrammar.rb', line 286

def module_contents
  elements[1]
end

#prefixObject



282
283
284
# File 'lib/treetop/compiler/metagrammar.rb', line 282

def prefix
  elements[0]
end

#suffixObject



290
291
292
# File 'lib/treetop/compiler/metagrammar.rb', line 290

def suffix
  elements[2]
end