Module: Treetop::Compiler::Metagrammar::Primary3

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

Instance Method Summary collapse

Instance Method Details

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



1189
1190
1191
# File 'lib/treetop/compiler/metagrammar.rb', line 1189

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

#inline_module_nameObject



1205
1206
1207
# File 'lib/treetop/compiler/metagrammar.rb', line 1205

def inline_module_name
  node_class_declarations.inline_module_name
end

#inline_modulesObject



1201
1202
1203
# File 'lib/treetop/compiler/metagrammar.rb', line 1201

def inline_modules
  atomic.inline_modules + node_class_declarations.inline_modules
end

#node_class_nameObject



1197
1198
1199
# File 'lib/treetop/compiler/metagrammar.rb', line 1197

def node_class_name
  node_class_declarations.node_class_name
end

#optional_expressionObject



1193
1194
1195
# File 'lib/treetop/compiler/metagrammar.rb', line 1193

def optional_expression
  atomic
end