Class: Rattler::BackEnd::ParserGenerator::RepeatGenerator

Inherits:
DelegatingGenerator show all
Includes:
NestedSubGenerating
Defined in:
lib/rattler/back_end/parser_generator/repeat_generator.rb

Class Method Summary collapse

Methods included from Parsers

define

Methods inherited from DelegatingGenerator

#initialize

Methods inherited from ExprGenerator

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

Constructor Details

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

Class Method Details

.nested(*args) ⇒ Object



38
39
40
# File 'lib/rattler/back_end/parser_generator/repeat_generator.rb', line 38

def RepeatGenerator.nested(*args)
  NestedRepeatGenerator.new(*args)
end

.top_level(*args) ⇒ Object



49
50
51
# File 'lib/rattler/back_end/parser_generator/repeat_generator.rb', line 49

def RepeatGenerator.top_level(*args)
  TopLevelRepeatGenerator.new(*args)
end