Method: Treetop::Compiler::ParsingRule#compile_inline_module_declarations

Defined in:
lib/treetop/compiler/node_classes/parsing_rule.rb

#compile_inline_module_declarations(builder) ⇒ Object



10
11
12
13
14
15
# File 'lib/treetop/compiler/node_classes/parsing_rule.rb', line 10

def compile_inline_module_declarations(builder)
  parsing_expression.inline_modules.each_with_index do |inline_module, i|
    inline_module.compile(i, builder, self)
    builder.newline
  end
end