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



1389
1390
1391
# File 'lib/treetop/compiler/metagrammar.rb', line 1389

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

#inline_module_nameObject



1401
1402
1403
# File 'lib/treetop/compiler/metagrammar.rb', line 1401

def inline_module_name
  nil
end

#inline_modulesObject



1397
1398
1399
# File 'lib/treetop/compiler/metagrammar.rb', line 1397

def inline_modules
  atomic.inline_modules
end

#prefixed_expressionObject



1393
1394
1395
# File 'lib/treetop/compiler/metagrammar.rb', line 1393

def prefixed_expression
  atomic
end