Module: Treetop::Compiler::Metagrammar::Primary1

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

Instance Method Summary collapse

Instance Method Details

#compile(address, builder, parent_expression = nil) ⇒ Object



1015
1016
1017
# File 'lib/treetop/compiler/metagrammar.rb', line 1015

def compile(address, builder, parent_expression=nil)
  prefix.compile(address, builder, self)
end

#inline_module_nameObject



1027
1028
1029
# File 'lib/treetop/compiler/metagrammar.rb', line 1027

def inline_module_name
  nil
end

#inline_modulesObject



1023
1024
1025
# File 'lib/treetop/compiler/metagrammar.rb', line 1023

def inline_modules
  atomic.inline_modules
end

#prefixed_expressionObject



1019
1020
1021
# File 'lib/treetop/compiler/metagrammar.rb', line 1019

def prefixed_expression
  atomic
end