compile(index, builder, rule)click to toggle source
# File lib/treetop/compiler/node_classes/inline_module.rb, line 15
15: defcompile(index, builder, rule)
16: super
17: builder.module_declaration(module_name) do
18: builder<<ruby_code.gsub(/\A\n/, '').rstrip
19: end
20: end
ruby_code()click to toggle source
# File lib/treetop/compiler/node_classes/inline_module.rb, line 22
22: defruby_code
23: elements[1].text_value
24: end