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


1290
1291
1292
# File 'lib/treetop/compiler/metagrammar.rb', line 1290

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

#inline_module_nameObject


1302
1303
1304
# File 'lib/treetop/compiler/metagrammar.rb', line 1302

def inline_module_name
  nil
end

#inline_modulesObject


1298
1299
1300
# File 'lib/treetop/compiler/metagrammar.rb', line 1298

def inline_modules
  atomic.inline_modules
end

#prefixed_expressionObject


1294
1295
1296
# File 'lib/treetop/compiler/metagrammar.rb', line 1294

def prefixed_expression
  atomic
end