Class: Rattler::Compiler::Optimizer::JoinMatchCapturingSequence

Inherits:
Optimization
  • Object
show all
Includes:
MatchJoining, ParserGenerator, Parsers
Defined in:
lib/rattler/compiler/optimizer/join_match_capturing_sequence.rb

Overview

Sequences of Regexp matches can be joined into a single Regexp match using capturing groups if necessary.

Constant Summary

Constants included from ParserGenerator

ParserGenerator::GEN_METHOD_NAMES, ParserGenerator::GEN_METHOD_TYPES

Method Summary

Methods included from ParserGenerator

code_for, generate

Methods inherited from Optimization

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

Constructor Details

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