saffron.opt
Class VolcanoPlanner.DeferringRuleCall

java.lang.Object
  |
  +--saffron.opt.RuleCall
        |
        +--saffron.opt.VolcanoPlanner.DeferringRuleCall
Enclosing class:
VolcanoPlanner

private static class VolcanoPlanner.DeferringRuleCall
extends RuleCall

A rule call which defers its actions. Whereas RuleCall invokes the rule when it finds a match, a DeferringRuleCall creates a RuleMatch which can be invoked later.


Field Summary
 
Fields inherited from class saffron.opt.RuleCall
operand0, rels, rule
 
Constructor Summary
(package private) VolcanoPlanner.DeferringRuleCall(Operand operand)
           
 
Method Summary
protected  void onMatch()
          Rather than invoking the rule (as the base method does), creates a RuleMatch which can be invoked later.
 
Methods inherited from class saffron.opt.RuleCall
getPlanner, getRule, match, transformTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VolcanoPlanner.DeferringRuleCall

VolcanoPlanner.DeferringRuleCall(Operand operand)
Method Detail

onMatch

protected void onMatch()
Rather than invoking the rule (as the base method does), creates a RuleMatch which can be invoked later.

Overrides:
onMatch in class RuleCall

SourceForge.net_Logo