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



1344
1345
1346
# File 'lib/treetop/compiler/metagrammar.rb', line 1344

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

#inline_module_nameObject



1360
1361
1362
# File 'lib/treetop/compiler/metagrammar.rb', line 1360

def inline_module_name
  node_class_declarations.inline_module_name
end

#inline_modulesObject



1356
1357
1358
# File 'lib/treetop/compiler/metagrammar.rb', line 1356

def inline_modules
  atomic.inline_modules + node_class_declarations.inline_modules
end

#node_class_nameObject



1352
1353
1354
# File 'lib/treetop/compiler/metagrammar.rb', line 1352

def node_class_name
  node_class_declarations.node_class_name
end

#optional_expressionObject



1348
1349
1350
# File 'lib/treetop/compiler/metagrammar.rb', line 1348

def optional_expression
  atomic
end