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

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

Instance Method Summary collapse

Instance Method Details

#compile(lexical_address, builder) ⇒ Object


1895
1896
1897
# File 'lib/treetop/compiler/metagrammar.rb', line 1895

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

#inline_module_nameObject


1907
1908
1909
# File 'lib/treetop/compiler/metagrammar.rb', line 1907

def inline_module_name
  nil
end

#inline_modulesObject


1903
1904
1905
# File 'lib/treetop/compiler/metagrammar.rb', line 1903

def inline_modules
  atomic.inline_modules
end

#prefixed_expressionObject


1899
1900
1901
# File 'lib/treetop/compiler/metagrammar.rb', line 1899

def prefixed_expression
  elements[1]
end