Class VerilogAttribute

    • Constructor Detail

      • VerilogAttribute

        public VerilogAttribute​(VerilogNode parent)
        Creates an attribute.
        Parameters:
        parent - the node parent.
      • VerilogAttribute

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

      • getExpression

        public VerilogExpression getExpression()
        Returns the expression of the attribute.
        Returns:
        the expression.
      • setExpression

        public void setExpression​(VerilogExpression expression)
        Sets the expression of the attribute.
        Parameters:
        expression - the expression to be set.