Parent

Included Modules

Class Index [+]

Quicksearch

Treetop::Compiler::InlineModule

Public Instance Methods

compile(index, builder, rule) click to toggle source
    # File lib/treetop/compiler/node_classes/inline_module.rb, line 15
15:       def compile(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:       def ruby_code
23:         elements[1].text_value
24:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.