|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.util.xmac.TagParser
byucc.jhdl.util.xmac.StructureParser
Parse the structure tag. The structure tag is one way to add
other objects into the output java code. This class tries to
be smart and checks the wires for width. If a generic sized
wire is passed in the resulting code will take that into account
and loop as many times as needed to create all the objects.
The form of the structure tag is:
<structure name="buf">
<param refid="i">
<param refid="o">
</structure>
This would create a new buf, passing the wires i and o as parameters.
If the wires are generic width then this would be a buf_g cell.
Field Summary |
Fields inherited from class byucc.jhdl.util.xmac.TagParser |
docInfo |
Constructor Summary | |
StructureParser(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 |
public StructureParser(DocInfo docInfo) throws java.lang.Exception
docInfo
- The DocInfo
object that contains the
current settings and parameters.Method Detail |
public void parse(org.w3c.dom.Node docRoot) throws java.lang.Exception
parse
in class TagParser
docRoot
- The Node
of the structure tag.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |