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

Interface AddStmt

  • All Superinterfaces:
    ArithStmt, ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Stmt
    All Known Subinterfaces:
    AddCorrStmt, AddToGivingStmt, AddToStmt


    public interface AddStmt
    extends ArithStmt
    A representation of an ADD statement in the PROCEDURE division. Each node that represents an ADD statement implements this interface.

    The following features are supported:

    See Also:
    COBOLPackage.getAddStmt()
    • Method Detail

      • isEndAddUsed

        boolean isEndAddUsed()
        Returns the value of the 'End Add Used' attribute.

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

        Returns:
        the value of the 'End Add Used' attribute.
        See Also:
        setEndAddUsed(boolean), COBOLPackage.getAddStmt_EndAddUsed()
      • setEndAddUsed

        void setEndAddUsed(boolean value)
        Sets the value of the 'End Add Used' attribute.
        Parameters:
        value - the new value of the 'End Add Used' attribute.
        See Also:
        isEndAddUsed()