com.ibm.etools.cobol.application.model.cobol

Interface EvaluateExpr

  • All Superinterfaces:
    ASTNode, org.eclipse.emf.ecore.EObject, EvaluateObject, org.eclipse.emf.common.notify.Notifier


    public interface EvaluateExpr
    extends EvaluateObject
    A representation of a conditional expression in the WHEN clause of an EVALUATE statement.

    The following features are supported:

    See Also:
    COBOLPackage.getEvaluateExpr()
    • Method Detail

      • getExpression

        Expr getExpression()
        Returns the value of the 'Expression' containment reference.

        Returns:
        the value of the 'Expression' containment reference.
        See Also:
        setExpression(Expr), COBOLPackage.getEvaluateExpr_Expression()
      • setExpression

        void setExpression(Expr value)
        Sets the value of the 'Expression' containment reference.
        Parameters:
        value - the new value of the 'Expression' containment reference.
        See Also:
        getExpression()
      • isNot

        boolean isNot()
        Returns the value of the 'Not' attribute.

        The value is true if the NOT keyword is before the expression; false otherwise.

        Returns:
        the value of the 'Not' attribute.
        See Also:
        setNot(boolean), COBOLPackage.getEvaluateExpr_Not()
      • setNot

        void setNot(boolean value)
        Sets the value of the 'Not' attribute.
        Parameters:
        value - the new value of the 'Not' attribute.
        See Also:
        isNot()