byucc.jhdl.util.xmac
Class PackageParser

java.lang.Object
  extended bybyucc.jhdl.util.xmac.TagParser
      extended bybyucc.jhdl.util.xmac.PackageParser

public class PackageParser
extends TagParser

Parse the package tag. This class parses the package tag(s) in the input xmac file. Essentially the data in the package tag gets compared to the package list in the config file and gets expanded when a match is found. The config file is well documented.

Example:
<package>byucc.jhdl.Xilinx.Virtex</package>

Author:
Isaac E. Wagner

Field Summary
 
Fields inherited from class byucc.jhdl.util.xmac.TagParser
docInfo
 
Constructor Summary
PackageParser(DocInfo docInfo)
          Construct a new PackageParser object.
 
Method Summary
 void parse(java.lang.String pkgName)
          Parse the package tag.
 
Methods inherited from class byucc.jhdl.util.xmac.TagParser
checkParent, countLines, decreaseIndent, increaseIndent, indentBlock, indentLine, indentLine, outmsg, parse, strBlockToArray, writeOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageParser

public PackageParser(DocInfo docInfo)
              throws java.lang.Exception
Construct a new PackageParser object.

Parameters:
docInfo - The DocInfo object containing information about the current class we're processing.
Method Detail

parse

public void parse(java.lang.String pkgName)
           throws java.lang.Exception
Parse the package tag. This method starts the actual parsing of the package tag.

Overrides:
parse in class TagParser
Parameters:
pkgName - The name of the package we're working on. Note: This is different from most of the other parser classes. This one takes a String rather than a Node as the parameter.
Returns:
None
Throws:
java.lang.Exception


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