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

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

Instance Method Summary collapse

Instance Method Details

#inline_moduleObject


2256
2257
2258
# File 'lib/treetop/compiler/metagrammar.rb', line 2256

def inline_module
  trailing_inline_module.inline_module
end

#inline_module_nameObject


2260
2261
2262
# File 'lib/treetop/compiler/metagrammar.rb', line 2260

def inline_module_name
  inline_module.module_name if inline_module
end

#inline_modulesObject


2252
2253
2254
# File 'lib/treetop/compiler/metagrammar.rb', line 2252

def inline_modules
  trailing_inline_module.inline_modules
end

#node_class_nameObject


2248
2249
2250
# File 'lib/treetop/compiler/metagrammar.rb', line 2248

def node_class_name
  node_class_expression.node_class_name
end