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

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

Instance Method Summary collapse

Instance Method Details

#nameObject



270
271
272
# File 'lib/treetop/compiler/metagrammar.rb', line 270

def name
  elements[2]
end

#space1Object



266
267
268
# File 'lib/treetop/compiler/metagrammar.rb', line 266

def space1
  elements[1]
end

#space2Object



274
275
276
# File 'lib/treetop/compiler/metagrammar.rb', line 274

def space2
  elements[3]
end