Module: Treetop::Compiler::Metagrammar::Primary1

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

Instance Method Summary collapse

Instance Method Details

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



1430
1431
1432
# File 'lib/treetop/compiler/metagrammar.rb', line 1430

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

#inline_moduleObject



1446
1447
1448
# File 'lib/treetop/compiler/metagrammar.rb', line 1446

def inline_module
  atomic.inline_module
end

#inline_module_nameObject



1450
1451
1452
# File 'lib/treetop/compiler/metagrammar.rb', line 1450

def inline_module_name
  nil
end

#inline_modulesObject



1442
1443
1444
# File 'lib/treetop/compiler/metagrammar.rb', line 1442

def inline_modules
  atomic.inline_modules
end

#parent_modulesObject



1438
1439
1440
# File 'lib/treetop/compiler/metagrammar.rb', line 1438

def parent_modules
  []
end

#prefixed_expressionObject



1434
1435
1436
# File 'lib/treetop/compiler/metagrammar.rb', line 1434

def prefixed_expression
  atomic
end