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



1199
1200
1201
# File 'lib/treetop/compiler/metagrammar.rb', line 1199

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

#inline_module_nameObject



1211
1212
1213
# File 'lib/treetop/compiler/metagrammar.rb', line 1211

def inline_module_name
  nil
end

#inline_modulesObject



1207
1208
1209
# File 'lib/treetop/compiler/metagrammar.rb', line 1207

def inline_modules
  atomic.inline_modules
end

#prefixed_expressionObject



1203
1204
1205
# File 'lib/treetop/compiler/metagrammar.rb', line 1203

def prefixed_expression
  atomic
end