Class VerilogCaseStatementItem

    • Constructor Detail

      • VerilogCaseStatementItem

        public VerilogCaseStatementItem​(VerilogNode parent)
        Creates a case item.
        Parameters:
        parent - the parent node.
      • VerilogCaseStatementItem

        public VerilogCaseStatementItem​(VerilogCaseStatementItem other,
                                        VerilogNode parent)
        Creates a copy of the case item.
        Parameters:
        other - the case item to be copied.
        parent - the parent node.
    • Method Detail

      • getExpressions

        public java.util.List<VerilogExpression> getExpressions()
        Returns the expressions of the case.
        Returns:
        the list of expressions.
      • addExpression

        public void addExpression​(VerilogExpression expression)
        Adds the expression to the case.
        Parameters:
        expression - the expression to be added.
      • addExpressions

        public void addExpressions​(java.util.List<VerilogExpression> list)
        Adds all the expressions to the case.
        Parameters:
        list - The list of expressions.
      • removeExpressions

        public void removeExpressions()
        Removes all the expressions of the case.
      • getStatement

        public VerilogStatement getStatement()
        Returns the statement of the case.
        Returns:
        the statement.
      • setStatement

        public void setStatement​(VerilogStatement statement)
        Sets the statement of the case.
        Parameters:
        statement - the statement to be set.
      • getExpression

        public VerilogExpression getExpression()
        Returns the condition associated with the case.
        Returns:
        the case condition.