Class: Rattler::Compiler::ParserGenerator::NestedListGenerator

Inherits:
ListGenerator show all
Defined in:
lib/rattler/compiler/parser_generator/list_generator.rb

Instance Method Summary collapse

Methods inherited from ListGenerator

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:



27
28
29
# File 'lib/rattler/compiler/parser_generator/list_generator.rb', line 27

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