Class: Rattler::Compiler::ParserGenerator::NestedRepeatGenerator

Inherits:
RepeatGenerator show all
Defined in:
lib/rattler/compiler/parser_generator/repeat_generator.rb

Instance Method Summary collapse

Methods inherited from RepeatGenerator

nested, top_level

Methods included from SubGenerating

#gen_nested, #gen_top_level, #generate

Methods inherited from DelegatingGenerator

#initialize

Methods inherited from ExprGenerator

#gen_intermediate, #gen_intermediate_assert, #gen_intermediate_disallow, #gen_intermediate_skip, #gen_token, #initialize

Constructor Details

This class inherits a constructor from Rattler::Compiler::ParserGenerator::DelegatingGenerator

Instance Method Details

#default_impl(list, init_args) ⇒ Object

:nodoc:



33
34
35
# File 'lib/rattler/compiler/parser_generator/repeat_generator.rb', line 33

def default_impl(list, init_args)
  GeneralRepeatGenerator.nested(*init_args)
end