Class: Rattler::Compiler::ParserGenerator::TopLevelRepeatGenerator

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:



44
45
46
# File 'lib/rattler/compiler/parser_generator/repeat_generator.rb', line 44

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