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



1492
1493
1494
# File 'lib/treetop/compiler/metagrammar.rb', line 1492

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

#inline_module_nameObject



1504
1505
1506
# File 'lib/treetop/compiler/metagrammar.rb', line 1504

def inline_module_name
  node_class_declarations.inline_module_name
end

#inline_modulesObject



1500
1501
1502
# File 'lib/treetop/compiler/metagrammar.rb', line 1500

def inline_modules
  atomic.inline_modules + node_class_declarations.inline_modules
end

#node_class_nameObject



1496
1497
1498
# File 'lib/treetop/compiler/metagrammar.rb', line 1496

def node_class_name
  node_class_declarations.node_class_name
end