|
|||||||||||
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.WireParser
Parse the wire tag. This class will take the <wire> tag and
create the correct java call to create a wire, depending on the package
this cell goes into. The advantage of using the wire tag over creating
wires yourself is that the parser will then know about that wire and
be able to extract information such as width. The get and put tags
take advantage of this.
Example:
<wire name="i" width="1"/>
The name and width attributes are required.
Field Summary |
Fields inherited from class byucc.jhdl.util.xmac.TagParser |
docInfo |
Constructor Summary | |
WireParser(DocInfo docInfo)
The default constructor for this class. |
Method Summary | |
void |
parse(org.w3c.dom.Node docRoot)
Parse the wire 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 WireParser(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 wire tag.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |