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

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

Instance Method Summary collapse

Instance Method Details

#compile(lexical_address, builder) ⇒ Object



1960
1961
1962
# File 'lib/treetop/compiler/metagrammar.rb', line 1960

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

#inline_module_nameObject



1976
1977
1978
# File 'lib/treetop/compiler/metagrammar.rb', line 1976

def inline_module_name
  nil
end

#inline_modulesObject



1972
1973
1974
# File 'lib/treetop/compiler/metagrammar.rb', line 1972

def inline_modules
  atomic.inline_modules
end

#parent_modulesObject



1968
1969
1970
# File 'lib/treetop/compiler/metagrammar.rb', line 1968

def parent_modules
  []
end

#prefixed_expressionObject



1964
1965
1966
# File 'lib/treetop/compiler/metagrammar.rb', line 1964

def prefixed_expression
  elements[1]
end