Class: Rattler::BackEnd::Optimizer::InlineRegularRules

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

Overview

References to regular parse rules can be inlined without affecting how they parse, assuming the referenced rule does not change. This optimization is only applied if the referenced rule is explicitly marked for inlining or the :standalone option is used.

Author:

  • Jason Arhart

Method Summary

Methods included from Parsers

define

Methods inherited from Optimization

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

Constructor Details

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