VSS.Regular_Expressions.Name_Sets

Entities

Simple Types

Subprograms

Description

Copyright (C) 2022-2023, AdaCore

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

"not"

function "not" (Left : General_Category_Set) return General_Category_Set
Parameters
Left
Return Value

"or"

function "or"
  (Left, Right : General_Category_Set) return General_Category_Set
Parameters
Left
Right
Return Value

Contains

function Contains
  (Self  : General_Category_Set;
   Value : VSS.Characters.General_Category) return Boolean

Check if set contains a value

Parameters
Self
Value
Return Value

Empty

function Empty return General_Category_Set

Return an empty set

Return Value

General_Category_Set

type General_Category_Set is private
  with Aggregate => (Empty       => Empty,
                     Add_Unnamed => Include);

Include

procedure Include
  (Self  : in out General_Category_Set;
   Value : VSS.Characters.General_Category)

Include a value into set

Parameters
Self
Value

Initialize

procedure Initialize

Initialize internal data. The call of it is optional

To_General_Category_Set

procedure To_General_Category_Set
  (Name  : VSS.Strings.Virtual_String;
   Value : out General_Category_Set;
   Ok    : out Boolean)

Return set corresponding to well-known name

Parameters
Name
Value
Ok