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

Interface PerformFromTo

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


    public interface PerformFromTo
    extends PerformBody
    A representation of the procedures in a PERFORM statement.

    The following features are supported:

    See Also:
    COBOLPackage.getPerformFromTo()
    • Method Detail

      • getFrom

        SectionOrParagraph getFrom()
        Returns the value of the 'From' reference.

        The first procedure in the PERFORM statement (the one before the THROUGH keyword).

        Returns:
        the value of the 'From' reference.
        See Also:
        setFrom(SectionOrParagraph), COBOLPackage.getPerformFromTo_From()
      • setFrom

        void setFrom(SectionOrParagraph value)
        Sets the value of the 'From' reference.
        Parameters:
        value - the new value of the 'From' reference.
        See Also:
        getFrom()
      • getTo

        SectionOrParagraph getTo()
        Returns the value of the 'To' reference.

        The value is the second procedure (the one after the THROUGH keyword). If there is no THROUGH keyword, null is returned.

        Returns:
        the value of the 'To' reference.
        See Also:
        setTo(SectionOrParagraph), COBOLPackage.getPerformFromTo_To()
      • setTo

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