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

Interface IndexSubscript

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


    public interface IndexSubscript
    extends TableSubscript
    A representation of a subscript that is an index variable.

    The following features are supported:

    See Also:
    COBOLPackage.getIndexSubscript()
    • Method Detail

      • getIndex

        IndexVariable getIndex()
        Returns the value of the 'Index' reference.

        Returns:
        the value of the 'Index' reference.
        See Also:
        setIndex(IndexVariable), COBOLPackage.getIndexSubscript_Index()
      • setIndex

        void setIndex(IndexVariable value)
        Sets the value of the 'Index' reference.
        Parameters:
        value - the new value of the 'Index' reference.
        See Also:
        getIndex()
      • getOffset

        int getOffset()
        Returns the value of the 'Offset' attribute.

        Returns:
        the value of the 'Offset' attribute.
        See Also:
        setOffset(int), COBOLPackage.getIndexSubscript_Offset()
      • setOffset

        void setOffset(int value)
        Sets the value of the 'Offset' attribute.
        Parameters:
        value - the new value of the 'Offset' attribute.
        See Also:
        getOffset()