public final class VerilogPathItem
extends java.lang.Object
VerilogPathItem
represents path items.Constructor and Description |
---|
VerilogPathItem()
Creates a path item with no name.
|
VerilogPathItem(java.lang.String name)
Creates a path item with the given instance name.
|
VerilogPathItem(java.lang.String name,
VerilogExpression expression)
Creates a path item with the given name and index.
|
VerilogPathItem(VerilogPathItem other)
Creates a copy of the path item.
|
Modifier and Type | Method and Description |
---|---|
VerilogPathItem |
clone() |
VerilogExpression |
getExpression()
Returns the instance index of the path item.
|
java.lang.String |
getName()
Returns the instance name of the path item.
|
void |
setExpression(VerilogExpression expression)
Sets the instance index of the path item.
|
void |
setName(java.lang.String name)
Sets the instance name of the path item.
|
java.lang.String |
toString() |
public VerilogPathItem()
public VerilogPathItem(java.lang.String name)
name
- the instance name.public VerilogPathItem(java.lang.String name, VerilogExpression expression)
name
- the instance name.expression
- the instance index.public VerilogPathItem(VerilogPathItem other)
other
- the path item to be copied.public java.lang.String getName()
public void setName(java.lang.String name)
name
- the instance name to be set.public VerilogExpression getExpression()
public void setExpression(VerilogExpression expression)
expression
- the instance index to be set.public java.lang.String toString()
toString
in class java.lang.Object
public VerilogPathItem clone()
clone
in class java.lang.Object