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



1421
1422
1423
# File 'lib/treetop/compiler/metagrammar.rb', line 1421

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

#inline_module_nameObject



1437
1438
1439
# File 'lib/treetop/compiler/metagrammar.rb', line 1437

def inline_module_name
  nil
end

#inline_modulesObject



1433
1434
1435
# File 'lib/treetop/compiler/metagrammar.rb', line 1433

def inline_modules
  atomic.inline_modules
end

#parent_modulesObject



1429
1430
1431
# File 'lib/treetop/compiler/metagrammar.rb', line 1429

def parent_modules
  []
end

#prefixed_expressionObject



1425
1426
1427
# File 'lib/treetop/compiler/metagrammar.rb', line 1425

def prefixed_expression
  atomic
end