byucc.jhdl.util.xmac
Class ConstructorParser

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

public class ConstructorParser
extends TagParser

Parse the constructor tag.

The tag form is as follows:

  <constructor>
    . . .
    Constructor stuff goes here
    . . .
  </constructor>

The constructor tag has an optional attribute set. If present, this will pull the constructor set of that name out of the configuration file and use that, instead of the default set.

Example:
<constructor name="myconstructor">

Author:
Isaac E. Wagner

Field Summary
 
Fields inherited from class byucc.jhdl.util.xmac.TagParser
docInfo
 
Constructor Summary
ConstructorParser(DocInfo docInfo)
          The default constructor for this class.
 
Method Summary
 void parse(org.w3c.dom.Node docRoot)
          This is the actual method that does the parsing of the 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

ConstructorParser

public ConstructorParser(DocInfo docInfo)
                  throws java.lang.Exception
The default constructor for this class.

Parameters:
docInfo - The DocInfo object that contains the current settings and parameters.
Method Detail

parse

public void parse(org.w3c.dom.Node docRoot)
           throws java.lang.Exception
This is the actual method that does the parsing of the tag.

Overrides:
parse in class TagParser
Parameters:
docRoot - The Node of the constructor tag.
Returns:
None
Throws:
java.lang.Exception


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