Class: Rattler::Compiler::ParserGenerator::RepeatGenerator
- Inherits:
-
DelegatingGenerator
- Object
- ExprGenerator
- DelegatingGenerator
- Rattler::Compiler::ParserGenerator::RepeatGenerator
- Includes:
- NestedSubGenerating
- Defined in:
- lib/rattler/compiler/parser_generator/repeat_generator.rb
Direct Known Subclasses
Class Method Summary collapse
Methods included from SubGenerating
#gen_nested, #gen_top_level, #generate
Methods inherited from DelegatingGenerator
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
Class Method Details
.nested(*args) ⇒ Object
38 39 40 |
# File 'lib/rattler/compiler/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/compiler/parser_generator/repeat_generator.rb', line 49 def RepeatGenerator.top_level(*args) TopLevelRepeatGenerator.new(*args) end |