Interface IBslIndexedValue

  • All Superinterfaces:
    org.eclipse.core.runtime.IAdaptable, IBslValue, org.eclipse.debug.core.model.IDebugElement, IRuntimeDebugElement, org.eclipse.debug.core.model.IValue
    All Known Subinterfaces:
    IBslArrayValue, IBslEnumValue

    public interface IBslIndexedValue
    extends IBslValue
    Represents BSL module variable or expression value in a 1C:Enterprise Runtime debug process with children elements, that can be referenced by index.

    Also, value can have standard BSL value properties and IBslIndexedValue can have both: properties values and indexed children values, and these elements are not the same.

    See Also:
    IBslValue, IBslArrayValue, IBslEnumValue
    • Method Detail

      • getIndexedChildren

        IBslVariable[] getIndexedChildren()
                                   throws org.eclipse.debug.core.DebugException
        Returns the indexed children elements contained in this indexed value.
        Returns:
        the values contained in this indexed value, never null
        Throws:
        org.eclipse.debug.core.DebugException - if request fails
      • getIndexedChild

        IBslVariable getIndexedChild​(int index)
                              throws org.eclipse.debug.core.DebugException
        Returns the indexed child element at the given index in this array.
        Parameters:
        index - the index of the value to return
        Returns:
        the element at the given index, never be null
        Throws:
        org.eclipse.debug.core.DebugException - if request fails
        IndexOutOfBoundsException - if the index is not within the bounds of this indexed value
      • getLength

        int getLength()
               throws org.eclipse.debug.core.DebugException
        Returns the length of this indexed value.
        Returns:
        the count of this indexed value children
        Throws:
        org.eclipse.debug.core.DebugException - if request fails