Class: Rattler::Compiler::ParserGenerator::ListGenerator
- Inherits:
-
DelegatingGenerator
- Object
- ExprGenerator
- DelegatingGenerator
- Rattler::Compiler::ParserGenerator::ListGenerator
- Includes:
- NestedSubGenerating
- Defined in:
- lib/rattler/compiler/parser_generator/list_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
32 33 34 |
# File 'lib/rattler/compiler/parser_generator/list_generator.rb', line 32 def ListGenerator.nested(*args) NestedListGenerator.new(*args) end |
.top_level(*args) ⇒ Object
43 44 45 |
# File 'lib/rattler/compiler/parser_generator/list_generator.rb', line 43 def ListGenerator.top_level(*args) TopLevelListGenerator.new(*args) end |