public final class VerilogPath
extends java.lang.Object
VerilogPath
represents paths.Constructor and Description |
---|
VerilogPath()
Creates an empty path.
|
VerilogPath(VerilogPath other)
Creates a copy of the path.
|
VerilogPath(VerilogPathItem item)
Creates a path consisting of one path item.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(VerilogPathItem item)
Adds an item to the path.
|
VerilogPath |
clone() |
java.util.List<VerilogPathItem> |
getPath()
Returns the list of path items.
|
VerilogPathItem |
getPathItem()
Return the first path item of the path.
|
boolean |
isHierarchical()
Checks whether the path is hierarchical.
|
java.lang.String |
toString() |
public VerilogPath()
public VerilogPath(VerilogPathItem item)
item
- the path item.public VerilogPath(VerilogPath other)
other
- the path to be copied.public boolean isHierarchical()
true
iff the path is hierarchical.public java.util.List<VerilogPathItem> getPath()
public VerilogPathItem getPathItem()
public void addItem(VerilogPathItem item)
item
- the item to be added.public java.lang.String toString()
toString
in class java.lang.Object
public VerilogPath clone()
clone
in class java.lang.Object