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

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

Instance Method Summary collapse

Instance Method Details

#compile(lexical_address, builder) ⇒ Object



1988
1989
1990
# File 'lib/treetop/compiler/metagrammar.rb', line 1988

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

#inline_module_nameObject



2004
2005
2006
# File 'lib/treetop/compiler/metagrammar.rb', line 2004

def inline_module_name
  nil
end

#inline_modulesObject



2000
2001
2002
# File 'lib/treetop/compiler/metagrammar.rb', line 2000

def inline_modules
  atomic.inline_modules
end

#parent_modulesObject



1996
1997
1998
# File 'lib/treetop/compiler/metagrammar.rb', line 1996

def parent_modules
  []
end

#prefixed_expressionObject



1992
1993
1994
# File 'lib/treetop/compiler/metagrammar.rb', line 1992

def prefixed_expression
  elements[1]
end