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

Interface InspectReplacingAllOrLeadingOrFirstClause

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


    public interface InspectReplacingAllOrLeadingOrFirstClause
    extends ASTNode
    A representation of the part of an ALL, LEADING, or FIRST clause after the first keyword within the REPLACING clause of an INSPECT statement.

    The following features are supported:

    See Also:
    COBOLPackage.getInspectReplacingAllOrLeadingOrFirstClause()
    • Method Detail

      • getReplace

        DataRefOrLiteral getReplace()
        Returns the value of the 'Replace' containment reference.

        The value is the data item or literal specified before the BY keyword.

        Returns:
        the value of the 'Replace' containment reference.
        See Also:
        setReplace(DataRefOrLiteral), COBOLPackage.getInspectReplacingAllOrLeadingOrFirstClause_Replace()
      • setReplace

        void setReplace(DataRefOrLiteral value)
        Sets the value of the 'Replace' containment reference.
        Parameters:
        value - the new value of the 'Replace' containment reference.
        See Also:
        getReplace()
      • getReplaceBy

        DataRefOrLiteral getReplaceBy()
        Returns the value of the 'Replace By' containment reference.

        The value is the data item or literal specified after the BY keyword.

        Returns:
        the value of the 'Replace By' containment reference.
        See Also:
        setReplaceBy(DataRefOrLiteral), COBOLPackage.getInspectReplacingAllOrLeadingOrFirstClause_ReplaceBy()
      • setReplaceBy

        void setReplaceBy(DataRefOrLiteral value)
        Sets the value of the 'Replace By' containment reference.
        Parameters:
        value - the new value of the 'Replace By' containment reference.
        See Also:
        getReplaceBy()
      • getBeforeOrAfterClauses

        java.util.List getBeforeOrAfterClauses()
        Returns the value of the 'Before Or After Clauses' containment reference list. The list contents are of type InspectBeforeOrAfterClause.

        The list contains the BEFORE or AFTER clauses following the replace by data item or literal.

        Returns:
        the value of the 'Before Or After Clauses' containment reference list.
        See Also:
        COBOLPackage.getInspectReplacingAllOrLeadingOrFirstClause_BeforeOrAfterClauses()