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



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

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

#inline_moduleObject



1466
1467
1468
# File 'lib/treetop/compiler/metagrammar.rb', line 1466

def inline_module
  atomic.inline_module
end

#inline_module_nameObject



1470
1471
1472
# File 'lib/treetop/compiler/metagrammar.rb', line 1470

def inline_module_name
  nil
end

#inline_modulesObject



1462
1463
1464
# File 'lib/treetop/compiler/metagrammar.rb', line 1462

def inline_modules
  atomic.inline_modules
end

#parent_modulesObject



1458
1459
1460
# File 'lib/treetop/compiler/metagrammar.rb', line 1458

def parent_modules
  []
end

#prefixed_expressionObject



1454
1455
1456
# File 'lib/treetop/compiler/metagrammar.rb', line 1454

def prefixed_expression
  atomic
end