saffron.opt
Class VisitorRelVisitor

java.lang.Object
  |
  +--saffron.util.RelVisitor
        |
        +--saffron.opt.VisitorRelVisitor

public class VisitorRelVisitor
extends RelVisitor

Walks over a tree of Rels, walking a ParseTreeVisitor over every expression in that tree.

Since:
22 October, 2001
Version:
$Id: //open/saffron/src/main/saffron/opt/VisitorRelVisitor.java#1 $
Author:
jhyde

Field Summary
(package private)  ParseTreeVisitor visitor
           
 
Constructor Summary
VisitorRelVisitor(ParseTreeVisitor visitor)
           
 
Method Summary
 void visit(Rel p, int ordinal, Rel parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

visitor

ParseTreeVisitor visitor
Constructor Detail

VisitorRelVisitor

public VisitorRelVisitor(ParseTreeVisitor visitor)
Method Detail

visit

public void visit(Rel p,
                  int ordinal,
                  Rel parent)
Overrides:
visit in class RelVisitor

SourceForge.net_Logo