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


1475
1476
1477
# File 'lib/treetop/compiler/metagrammar.rb', line 1475

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

#inline_module_nameObject


1487
1488
1489
# File 'lib/treetop/compiler/metagrammar.rb', line 1487

def inline_module_name
  node_class_declarations.inline_module_name
end

#inline_modulesObject


1483
1484
1485
# File 'lib/treetop/compiler/metagrammar.rb', line 1483

def inline_modules
  atomic.inline_modules + node_class_declarations.inline_modules
end

#node_class_nameObject


1479
1480
1481
# File 'lib/treetop/compiler/metagrammar.rb', line 1479

def node_class_name
  node_class_declarations.node_class_name
end