VSS.Strings.Cursors.Iterators

Entities

Tagged Types

Subprograms

Description

Copyright (C) 2020-2021, AdaCore

SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

Abstract_Character_Iterator

type Abstract_Character_Iterator is
  abstract limited new VSS.Strings.Cursors.Abstract_Character_Cursor
    with private;

Abstract_Segment_Iterator

type Abstract_Segment_Iterator is
  abstract limited new VSS.Strings.Cursors.Abstract_Segment_Cursor
    with private;

Backward

function Backward
  (Self : in out Abstract_Character_Iterator) return Boolean

Move cursor one character backward

Parameters
Self
Return Value

Forward

function Forward
  (Self : in out Abstract_Character_Iterator) return Boolean

Move cursor one character forward

Parameters
Self
Return Value

Forward

function Forward
  (Self : in out Abstract_Segment_Iterator) return Boolean

Move cursor to the next segment

Parameters
Self
Return Value

Has_Element

function Has_Element
  (Self : Abstract_Character_Iterator) return Boolean

Returns True when iterator points to the text element

Parameters
Self
Return Value

Has_Element

function Has_Element
  (Self : Abstract_Segment_Iterator) return Boolean

Return True when iterator points to the text element

Parameters
Self
Return Value