Module: Treetop::Compiler::Metagrammar::ModuleDeclaration2

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

Instance Method Summary collapse

Instance Method Details

#module_contentsObject



258
259
260
# File 'lib/treetop/compiler/metagrammar.rb', line 258

def module_contents
  elements[1]
end

#prefixObject



254
255
256
# File 'lib/treetop/compiler/metagrammar.rb', line 254

def prefix
  elements[0]
end

#suffixObject



262
263
264
# File 'lib/treetop/compiler/metagrammar.rb', line 262

def suffix
  elements[2]
end