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

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

Instance Method Summary collapse

Instance Method Details

#module_contentsObject



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

def module_contents
  elements[1]
end

#module_prefixObject



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

def module_prefix
  elements[0]
end

#suffixObject



295
296
297
# File 'lib/treetop/compiler/metagrammar.rb', line 295

def suffix
  elements[2]
end