Class VerilogPathItem


  • public final class VerilogPathItem
    extends java.lang.Object
    VerilogPathItem represents path items.
    • Constructor Detail

      • VerilogPathItem

        public VerilogPathItem()
        Creates a path item with no name.
      • VerilogPathItem

        public VerilogPathItem​(java.lang.String name)
        Creates a path item with the given instance name.
        Parameters:
        name - the instance name.
      • VerilogPathItem

        public VerilogPathItem​(java.lang.String name,
                               VerilogExpression expression)
        Creates a path item with the given name and index.
        Parameters:
        name - the instance name.
        expression - the instance index.
      • VerilogPathItem

        public VerilogPathItem​(VerilogPathItem other)
        Creates a copy of the path item.
        Parameters:
        other - the path item to be copied.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the instance name of the path item.
        Returns:
        the instance name.
      • setName

        public void setName​(java.lang.String name)
        Sets the instance name of the path item.
        Parameters:
        name - the instance name to be set.
      • getExpression

        public VerilogExpression getExpression()
        Returns the instance index of the path item.
        Returns:
        the instance index.
      • setExpression

        public void setExpression​(VerilogExpression expression)
        Sets the instance index of the path item.
        Parameters:
        expression - the instance index to be set.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • clone

        public VerilogPathItem clone()
        Overrides:
        clone in class java.lang.Object