Class VerilogPath


  • public final class VerilogPath
    extends java.lang.Object
    VerilogPath represents paths.
    • Constructor Detail

      • VerilogPath

        public VerilogPath()
        Creates an empty path.
      • VerilogPath

        public VerilogPath​(VerilogPathItem item)
        Creates a path consisting of one path item.
        Parameters:
        item - the path item.
      • VerilogPath

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

      • isHierarchical

        public boolean isHierarchical()
        Checks whether the path is hierarchical.
        Returns:
        true iff the path is hierarchical.
      • getPath

        public java.util.List<VerilogPathItem> getPath()
        Returns the list of path items.
        Returns:
        the list of path items.
      • getPathItem

        public VerilogPathItem getPathItem()
        Return the first path item of the path.
        Returns:
        the first path item.
      • addItem

        public void addItem​(VerilogPathItem item)
        Adds an item to the path.
        Parameters:
        item - the item to be added.
      • toString

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

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