VSS.Strings.Cursors.Iterators.Grapheme_Clusters

Entities

Tagged Types

Subprograms

Description

Copyright (C) 2021-2023, AdaCore

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

Backward

function Backward (Self : in out Grapheme_Cluster_Iterator) return Boolean

Move iterator to previous grapheme cluster.

Parameters
Self
Return Value

Grapheme_Cluster_Iterator

type Grapheme_Cluster_Iterator is
  new Abstract_Segment_Iterator with private;

Set_After_Last

procedure Set_After_Last
  (Self : in out Grapheme_Cluster_Iterator;
   On   : VSS.Strings.Virtual_String'Class)

Set iterator to point after the last grapheme cluster of the given string.

Parameters
Self
On

Set_At

procedure Set_At
  (Self     : in out Grapheme_Cluster_Iterator;
   Position : VSS.Strings.Cursors.Abstract_Character_Cursor'Class)

Set iterator to point to the grapheme cluster at the given position.

Parameters
Self
Position

Set_At_First

procedure Set_At_First
  (Self : in out Grapheme_Cluster_Iterator;
   On   : VSS.Strings.Virtual_String'Class)

Set iterator to point to the first grapheme cluster of the string.

Parameters
Self
On

Set_At_Last

procedure Set_At_Last
  (Self : in out Grapheme_Cluster_Iterator;
   On   : VSS.Strings.Virtual_String'Class)

Set iterator to point to the last grapheme cluster of the string.

Parameters
Self
On

Set_Before_First

procedure Set_Before_First
  (Self : in out Grapheme_Cluster_Iterator;
   On   : VSS.Strings.Virtual_String'Class)

Set iterator to point before the first grapheme cluster of the given string.

Parameters
Self
On