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

Defined in:
lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

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



1011
1012
1013
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1011

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

#inline_module_nameObject



1023
1024
1025
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1023

def inline_module_name
  node_class_declarations.inline_module_name
end

#inline_modulesObject



1019
1020
1021
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1019

def inline_modules
  atomic.inline_modules + node_class_declarations.inline_modules
end

#node_class_nameObject



1015
1016
1017
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1015

def node_class_name
  node_class_declarations.node_class_name
end