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

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

Instance Method Summary collapse

Instance Method Details

#module_contentsObject



249
250
251
# File 'lib/treetop/compiler/metagrammar.rb', line 249

def module_contents
  elements[1]
end

#prefixObject



245
246
247
# File 'lib/treetop/compiler/metagrammar.rb', line 245

def prefix
  elements[0]
end

#suffixObject



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

def suffix
  elements[2]
end