Module: Treetop::Compiler::Metagrammar::Primary7

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

Instance Method Summary collapse

Instance Method Details

#compile(address, builder, parent_expression = nil) ⇒ Object



1376
1377
1378
# File 'lib/treetop/compiler/metagrammar.rb', line 1376

def compile(address, builder, parent_expression=nil)
  atomic.compile(address, builder, self)
end

#inline_module_nameObject



1388
1389
1390
# File 'lib/treetop/compiler/metagrammar.rb', line 1388

def inline_module_name
  node_class_declarations.inline_module_name
end

#inline_modulesObject



1384
1385
1386
# File 'lib/treetop/compiler/metagrammar.rb', line 1384

def inline_modules
  atomic.inline_modules + node_class_declarations.inline_modules
end

#node_class_nameObject



1380
1381
1382
# File 'lib/treetop/compiler/metagrammar.rb', line 1380

def node_class_name
  node_class_declarations.node_class_name
end