Class: Rattler::Compiler::Optimizer::ReduceRepeatMatch

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

Overview

A repeat of a Regexp match can be reduced to a single Regexp match.

Method Summary

Methods inherited from Optimization

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

Constructor Details

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