Class VerilogMinTypMax


  • public final class VerilogMinTypMax
    extends java.lang.Object
    VerilogMinTypMax represents the min:typ:max expressions.
    • Constructor Detail

      • VerilogMinTypMax

        public VerilogMinTypMax()
        Creates a min:typ:max expression.
      • VerilogMinTypMax

        public VerilogMinTypMax​(VerilogExpression expression)
        Creates a min:typ:max expression.
        Parameters:
        expression - the usual expression.
      • VerilogMinTypMax

        public VerilogMinTypMax​(VerilogMinTypMax other)
        Creates a copy of the min:typ:max expression.
        Parameters:
        other - the expression to be copied.
    • Method Detail

      • isUsual

        public boolean isUsual()
        Checks whether the expression is usual.
        Returns:
        true iff the expression is usual.
      • getMinExpression

        public VerilogExpression getMinExpression()
        Returns the minimal value expression.
        Returns:
        the minimal value expression.
      • setMinExpression

        public void setMinExpression​(VerilogExpression min)
        Sets the minimal value expression.
        Parameters:
        min - the expression to be set.
      • getTypExpression

        public VerilogExpression getTypExpression()
        Returns the typical value expression.
        Returns:
        the typical value expression.
      • setTypExpression

        public void setTypExpression​(VerilogExpression typ)
        Sets the typical value expression.
        Parameters:
        typ - the expression to be set.
      • setMinTypMaxExpression

        public void setMinTypMaxExpression​(VerilogMinTypMax other)
        Set the minimal, the typical, and the maximal expressions.
        Parameters:
        other - the min:typ:max expression to be set.
      • getMaxExpression

        public VerilogExpression getMaxExpression()
        Returns the maximal value expression.
        Returns:
        the maximal value expression.
      • setMaxExpression

        public void setMaxExpression​(VerilogExpression max)
        Sets the maximal value expression.
        Parameters:
        max - the expression to be set.
      • getAttributes

        public java.util.List<VerilogAttribute> getAttributes()
        Returns the expression attributes.
        Returns:
        the attributes.
      • setAttributes

        public void setAttributes​(java.util.List<VerilogAttribute> attributes)
        Sets the expression attributes.
        Parameters:
        attributes - the attributes to be set.
      • toString

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

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