net.sf.saffron.opt
Class VolcanoPlanner.DeferringRuleCall

java.lang.Object
  |
  +--net.sf.saffron.opt.VolcanoRuleCall
        |
        +--net.sf.saffron.opt.VolcanoPlanner.DeferringRuleCall
Enclosing class:
VolcanoPlanner

private static class VolcanoPlanner.DeferringRuleCall
extends VolcanoRuleCall

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


Field Summary
 
Fields inherited from class net.sf.saffron.opt.VolcanoRuleCall
operand0, rels, rule
 
Constructor Summary
(package private) VolcanoPlanner.DeferringRuleCall(RuleOperand operand)
           
 
Method Summary
protected  void onMatch()
          Rather than invoking the rule (as the base method does), creates a VolcanoRuleMatch which can be invoked later.
 
Methods inherited from class net.sf.saffron.opt.VolcanoRuleCall
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(RuleOperand operand)
Method Detail

onMatch

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

Overrides:
onMatch in class VolcanoRuleCall

SourceForge.net_Logo