Class: Rattler::Compiler::Optimizer::JoinPredicateOrBareMatch

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

Overview

A predicate and an adjacent Regexp match in a Choice can be joined into a single Regexp match.

Direct Known Subclasses

JoinPredicateOrNestedMatch

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