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

Interface AddCorrStmt

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


    public interface AddCorrStmt
    extends AddStmt
    A representation of an ADD statement with a CORRESPONDING phrase.

    The following features are supported:

    See Also:
    COBOLPackage.getAddCorrStmt()
    • Method Detail

      • getAdd

        DataRef getAdd()
        Returns the value of the 'Add' containment reference.

        The value is the data item specified before the TO keyword.

        Returns:
        the value of the 'Add' containment reference.
        See Also:
        setAdd(DataRef), COBOLPackage.getAddCorrStmt_Add()
      • setAdd

        void setAdd(DataRef value)
        Sets the value of the 'Add' containment reference.
        Parameters:
        value - the new value of the 'Add' containment reference.
        See Also:
        getAdd()
      • getTo

        ArithOperand getTo()
        Returns the value of the 'To' containment reference.

        The value is the data item specified after the TO keyword.

        Returns:
        the value of the 'To' containment reference.
        See Also:
        setTo(ArithOperand), COBOLPackage.getAddCorrStmt_To()
      • setTo

        void setTo(ArithOperand value)
        Sets the value of the 'To' containment reference.
        Parameters:
        value - the new value of the 'To' containment reference.
        See Also:
        getTo()