Module: Treetop::Compiler::Metagrammar::NodeClassDeclarations1

Defined in:
lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#inline_moduleObject



2236
2237
2238
# File 'lib/treetop/compiler/metagrammar.rb', line 2236

def inline_module
  trailing_inline_module.inline_module
end

#inline_module_nameObject



2240
2241
2242
# File 'lib/treetop/compiler/metagrammar.rb', line 2240

def inline_module_name
  inline_module.module_name if inline_module
end

#inline_modulesObject



2232
2233
2234
# File 'lib/treetop/compiler/metagrammar.rb', line 2232

def inline_modules
  trailing_inline_module.inline_modules
end

#node_class_nameObject



2228
2229
2230
# File 'lib/treetop/compiler/metagrammar.rb', line 2228

def node_class_name
  node_class_expression.node_class_name
end