xtc.parser
Class MetaDataCreator

java.lang.Object
  extended by xtc.tree.Visitor
      extended by xtc.parser.MetaDataCreator

public class MetaDataCreator
extends Visitor

Visitor to create the production meta-data. Note that this visitor only creates the meta-data records, but does not fill in appropriate values. Further note that this visitor assumes that the entire grammar is contained in a single module.

Version:
$Revision: 1.11 $
Author:
Robert Grimm
See Also:
DeadProductionEliminator, MetaDataSetter

Constructor Summary
MetaDataCreator()
          Create a new meta-data creator.
 
Method Summary
 void visit(Module m)
          Visit the specified grammar.
 void visit(Production p)
          Visit the specified production.
 
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
 

Constructor Detail

MetaDataCreator

public MetaDataCreator()
Create a new meta-data creator.

Method Detail

visit

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


visit

public void visit(Production p)
Visit the specified production.



Copyright © 2012. All Rights Reserved.