byucc.jhdl.util.xmac
Class BoolGenParser

java.lang.Object
  extended bybyucc.jhdl.util.xmac.BoolGenParser

public class BoolGenParser
extends java.lang.Object

This class parses the primitives tag in the boolgen config file. Essentially that tag tells us what primitives to make and some of the specifics about those primitives.

Author:
Isaac E. Wagner

Constructor Summary
BoolGenParser(java.lang.String license, java.lang.String destdir, java.lang.String[] packageNames, long configModified)
          Construct a new BoolGenParser.
 
Method Summary
 void parse(org.w3c.dom.Node primitiveNode)
          Start parsing the primitives tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoolGenParser

public BoolGenParser(java.lang.String license,
                     java.lang.String destdir,
                     java.lang.String[] packageNames,
                     long configModified)
Construct a new BoolGenParser. Note that BoolGen checks the date stamps on all the files as it goes. This makes it faster if run multiple times in a row, as files already existing are not made again.

Parameters:
destdir - The destination directory of the resulting files.
packageNames - A list of all the packages that these primitives will be created for.
configModified - The date stamp of the config file.
Method Detail

parse

public void parse(org.w3c.dom.Node primitiveNode)
           throws java.lang.Exception
Start parsing the primitives tag.

Throws:
java.lang.Exception


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.