Class: Rattler::Compiler::Optimizer::FlattenChoice

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

Overview

Nested choice expressions can be flattened without affecting how they parse.

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