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



1157
1158
1159
# File 'lib/treetop/compiler/metagrammar.rb', line 1157

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

#inline_module_nameObject



1169
1170
1171
# File 'lib/treetop/compiler/metagrammar.rb', line 1169

def inline_module_name
  nil
end

#inline_modulesObject



1165
1166
1167
# File 'lib/treetop/compiler/metagrammar.rb', line 1165

def inline_modules
  atomic.inline_modules
end

#prefixed_expressionObject



1161
1162
1163
# File 'lib/treetop/compiler/metagrammar.rb', line 1161

def prefixed_expression
  atomic
end