Module: Treetop::Compiler::Metagrammar::SequencePrimary1

Defined in:
lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#compile(lexical_address, builder) ⇒ Object



1274
1275
1276
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1274

def compile(lexical_address, builder)
  prefix.compile(lexical_address, builder, self)
end

#inline_module_nameObject



1286
1287
1288
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1286

def inline_module_name
  nil
end

#inline_modulesObject



1282
1283
1284
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1282

def inline_modules
  atomic.inline_modules
end

#prefixed_expressionObject



1278
1279
1280
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1278

def prefixed_expression
  elements[1]
end