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

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

Instance Method Summary collapse

Instance Method Details

#module_contentsObject



107
108
109
# File 'lib/treetop/compiler/metagrammar.rb', line 107

def module_contents
  elements[1]
end

#prefixObject



103
104
105
# File 'lib/treetop/compiler/metagrammar.rb', line 103

def prefix
  elements[0]
end

#suffixObject



111
112
113
# File 'lib/treetop/compiler/metagrammar.rb', line 111

def suffix
  elements[2]
end