Class: Rattler::Compiler::Optimizer::SimplifyTokenMatch

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

Overview

A token wrapping a terminal parser is redundant.

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