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

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

Instance Method Summary collapse

Instance Method Details

#compile(lexical_address, builder) ⇒ Object



2008
2009
2010
# File 'lib/treetop/compiler/metagrammar.rb', line 2008

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

#inline_module_nameObject



2024
2025
2026
# File 'lib/treetop/compiler/metagrammar.rb', line 2024

def inline_module_name
  nil
end

#inline_modulesObject



2020
2021
2022
# File 'lib/treetop/compiler/metagrammar.rb', line 2020

def inline_modules
  atomic.inline_modules
end

#parent_modulesObject



2016
2017
2018
# File 'lib/treetop/compiler/metagrammar.rb', line 2016

def parent_modules
  []
end

#prefixed_expressionObject



2012
2013
2014
# File 'lib/treetop/compiler/metagrammar.rb', line 2012

def prefixed_expression
  elements[1]
end