Module: Treetop::Compiler::Metagrammar::Primary5

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

Instance Method Summary collapse

Instance Method Details

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



1460
1461
1462
# File 'lib/treetop/compiler/metagrammar.rb', line 1460

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

#inline_module_nameObject



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

def inline_module_name
  node_class_declarations.inline_module_name
end

#inline_modulesObject



1472
1473
1474
# File 'lib/treetop/compiler/metagrammar.rb', line 1472

def inline_modules
  atomic.inline_modules + node_class_declarations.inline_modules
end

#node_class_nameObject



1468
1469
1470
# File 'lib/treetop/compiler/metagrammar.rb', line 1468

def node_class_name
  node_class_declarations.node_class_name
end

#optional_expressionObject



1464
1465
1466
# File 'lib/treetop/compiler/metagrammar.rb', line 1464

def optional_expression
  atomic
end