byucc.jhdl.util.xmac
Class MethodParser
java.lang.Object
byucc.jhdl.util.xmac.TagParser
byucc.jhdl.util.xmac.MethodParser
- public class MethodParser
- extends TagParser
This class processes the guts of the method tags, such as:
clock, propagate, etc. It correctly handles text nodes, such as user
defined code. It also handles any tag the user wants to pass in. It uses
the hashtable from the DocInfo object the get the correct class for a
given tag.
- Author:
- Isaac E. Wagner
Method Summary |
void |
parse(org.w3c.dom.Node docRoot)
This method processes the guts of any method 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 |
MethodParser
public MethodParser(DocInfo docInfo)
throws java.lang.Exception
parse
public void parse(org.w3c.dom.Node docRoot)
throws java.lang.Exception
- This method processes the guts of any method tag.
It expects to be passed a node of the first child UNDER
the current tag. Example: if you are parsing the clock
tag you would pass is the first child, not the clock tag!
- Overrides:
parse
in class TagParser
- Parameters:
docRoot
- The Node
of the tag to parse.
- Returns:
- None
- Throws:
java.lang.Exception
Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.