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



1422
1423
1424
# File 'lib/treetop/compiler/metagrammar.rb', line 1422

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

#inline_module_nameObject



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

def inline_module_name
  nil
end

#inline_modulesObject



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

def inline_modules
  atomic.inline_modules
end

#parent_modulesObject



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

def parent_modules
  []
end

#prefixed_expressionObject



1426
1427
1428
# File 'lib/treetop/compiler/metagrammar.rb', line 1426

def prefixed_expression
  atomic
end