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



1622
1623
1624
# File 'lib/treetop/compiler/metagrammar.rb', line 1622

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

#inline_module ⇒ Object



1638
1639
1640
# File 'lib/treetop/compiler/metagrammar.rb', line 1638

def inline_module
  atomic.inline_module
end

#inline_module_name ⇒ Object



1642
1643
1644
# File 'lib/treetop/compiler/metagrammar.rb', line 1642

def inline_module_name
  nil
end

#inline_modules ⇒ Object



1634
1635
1636
# File 'lib/treetop/compiler/metagrammar.rb', line 1634

def inline_modules
  atomic.inline_modules
end

#parent_modules ⇒ Object



1630
1631
1632
# File 'lib/treetop/compiler/metagrammar.rb', line 1630

def parent_modules
  []
end

#prefixed_expression ⇒ Object



1626
1627
1628
# File 'lib/treetop/compiler/metagrammar.rb', line 1626

def prefixed_expression
  atomic
end