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



1079
1080
1081
# File 'lib/treetop/compiler/metagrammar.rb', line 1079

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

#inline_module_nameObject



1091
1092
1093
# File 'lib/treetop/compiler/metagrammar.rb', line 1091

def inline_module_name
  node_class_declarations.inline_module_name
end

#inline_modulesObject



1087
1088
1089
# File 'lib/treetop/compiler/metagrammar.rb', line 1087

def inline_modules
  atomic.inline_modules + node_class_declarations.inline_modules
end

#node_class_nameObject



1083
1084
1085
# File 'lib/treetop/compiler/metagrammar.rb', line 1083

def node_class_name
  node_class_declarations.node_class_name
end