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



947
948
949
# File 'lib/treetop/compiler/metagrammar.rb', line 947

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

#inline_module_nameObject



959
960
961
# File 'lib/treetop/compiler/metagrammar.rb', line 959

def inline_module_name
  nil
end

#inline_modulesObject



955
956
957
# File 'lib/treetop/compiler/metagrammar.rb', line 955

def inline_modules
  atomic.inline_modules
end

#prefixed_expressionObject



951
952
953
# File 'lib/treetop/compiler/metagrammar.rb', line 951

def prefixed_expression
  atomic
end