Class: Rattler::Compiler::Optimizer::FlattenCapturingSequence

Inherits:
Optimization
  • Object
show all
Includes:
Flattening, Parsers
Defined in:
lib/rattler/compiler/optimizer/flatten_sequence.rb

Overview

Nested sequence expressions can be flattened without affecting how they parse if the nested sequence expressions are not multi-capturing.

Method Summary

Methods included from Flattening

#_apply

Methods inherited from Optimization

#>>, >>, #applies_to?, applies_to?, apply, #apply, #initialize, instance

Constructor Details

This class inherits a constructor from Rattler::Compiler::Optimizer::Optimization