Module: Treetop::Compiler::Metagrammar::SequencePrimary1

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

Instance Method Summary collapse

Instance Method Details

#compile(lexical_address, builder) ⇒ Object


1676
1677
1678
# File 'lib/treetop/compiler/metagrammar.rb', line 1676

def compile(lexical_address, builder)
  prefix.compile(lexical_address, builder, self)
end

#inline_module_nameObject


1688
1689
1690
# File 'lib/treetop/compiler/metagrammar.rb', line 1688

def inline_module_name
  nil
end

#inline_modulesObject


1684
1685
1686
# File 'lib/treetop/compiler/metagrammar.rb', line 1684

def inline_modules
  atomic.inline_modules
end

#prefixed_expressionObject


1680
1681
1682
# File 'lib/treetop/compiler/metagrammar.rb', line 1680

def prefixed_expression
  elements[1]
end