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

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

Instance Method Summary collapse

Instance Method Details

#inline_moduleObject


2126
2127
2128
# File 'lib/treetop/compiler/metagrammar.rb', line 2126

def inline_module
  trailing_inline_module.inline_module
end

#inline_module_nameObject


2130
2131
2132
# File 'lib/treetop/compiler/metagrammar.rb', line 2130

def inline_module_name
  inline_module.module_name if inline_module
end

#inline_modulesObject


2122
2123
2124
# File 'lib/treetop/compiler/metagrammar.rb', line 2122

def inline_modules
  trailing_inline_module.inline_modules
end

#node_class_nameObject


2118
2119
2120
# File 'lib/treetop/compiler/metagrammar.rb', line 2118

def node_class_name
  node_class_expression.node_class_name
end