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

Interface EvaluateStmt

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


    public interface EvaluateStmt
    extends Stmt
    A representation of an EVALUATE statement in the PROCEDURE division. The END-EVALUATE keyword is not represented in the model.

    The following features are supported:

    See Also:
    COBOLPackage.getEvaluateStmt()
    • Method Detail

      • getSubjects

        java.util.List getSubjects()
        Returns the value of the 'Subjects' containment reference list. The list contents are of type Expr.

        The list contains the expressions before the WHEN phrases.

        Returns:
        the value of the 'Subjects' containment reference list.
        See Also:
        COBOLPackage.getEvaluateStmt_Subjects()
      • getWhenBlocks

        java.util.List getWhenBlocks()
        Returns the value of the 'When Blocks' containment reference list. The list contents are of type EvaluateWhenBlock.

        Returns:
        the value of the 'When Blocks' containment reference list.
        See Also:
        COBOLPackage.getEvaluateStmt_WhenBlocks()
      • getWhenOther

        java.util.List getWhenOther()
        Returns the value of the 'When Other' containment reference list. The list contents are of type Stmt.

        The list contains the statements in the WHEN OTHER phrase.

        Returns:
        the value of the 'When Other' containment reference list.
        See Also:
        COBOLPackage.getEvaluateStmt_WhenOther()
      • isEndEvaluateUsed

        boolean isEndEvaluateUsed()
        Returns the value of the 'End Evaluate Used' attribute.

        The value is true if END-EVALUATE is present; false otherwise.

        Returns:
        the value of the 'End Evaluate Used' attribute.
        See Also:
        setEndEvaluateUsed(boolean), COBOLPackage.getEvaluateStmt_EndEvaluateUsed()
      • setEndEvaluateUsed

        void setEndEvaluateUsed(boolean value)
        Sets the value of the 'End Evaluate Used' attribute.
        Parameters:
        value - the new value of the 'End Evaluate Used' attribute.
        See Also:
        isEndEvaluateUsed()