xtc.parser
Class VariantSorter.Registrar

java.lang.Object
  extended by xtc.tree.Visitor
      extended by xtc.parser.VariantSorter.Registrar
Enclosing class:
VariantSorter

public class VariantSorter.Registrar
extends Visitor

Visitor to register all generic node names with the type operations class.


Field Summary
protected  java.util.List<Element> elements
          The list of elements.
 
Constructor Summary
VariantSorter.Registrar()
          Create a new registrar.
 
Method Summary
 void visit(FullProduction p)
          Visit the specified full production.
 void visit(Module m)
          Visit the specified grammar.
 void visit(OrderedChoice c)
          Visit the specified ordered choice.
 void visit(Sequence s)
          Visit the specified sequence.
 
Methods inherited from class xtc.tree.Visitor
dispatch, equals, hashCode, iterate, map, mapInPlace, unableToVisit, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

protected java.util.List<Element> elements
The list of elements.

Constructor Detail

VariantSorter.Registrar

public VariantSorter.Registrar()
Create a new registrar.

Method Detail

visit

public void visit(Module m)
Visit the specified grammar.


visit

public void visit(FullProduction p)
Visit the specified full production.


visit

public void visit(OrderedChoice c)
Visit the specified ordered choice.


visit

public void visit(Sequence s)
Visit the specified sequence.



Copyright © 2012. All Rights Reserved.