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

Defined in:
lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#module_contentsObject



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

def module_contents
  elements[1]
end

#prefixObject



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

def prefix
  elements[0]
end

#suffixObject



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

def suffix
  elements[2]
end