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

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

Instance Method Summary collapse

Instance Method Details

#compile(lexical_address, builder) ⇒ Object



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

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

#inline_module_nameObject



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

def inline_module_name
  nil
end

#inline_modulesObject



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

def inline_modules
  atomic.inline_modules
end

#parent_modulesObject



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

def parent_modules
  []
end

#prefixed_expressionObject



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

def prefixed_expression
  elements[1]
end