vss_24.0.0_b4d0be7c/source/regexp/implementation/vss-regular_expressions-category_maps.ads

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--
--  Copyright (C) 2023, AdaCore
--
--  SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
--

with Ada.Containers.Hashed_Maps;
with VSS.Strings.Hash;
with VSS.Regular_Expressions.Name_Sets;

private
package VSS.Regular_Expressions.Category_Maps is
   pragma Preelaborate;

   package Maps is new Ada.Containers.Hashed_Maps
     (VSS.Strings.Virtual_String,
      VSS.Regular_Expressions.Name_Sets.General_Category_Set,
      VSS.Strings.Hash,
      VSS.Strings."=",
      VSS.Regular_Expressions.Name_Sets."=");

   procedure Init (Map : out Maps.Map);
end VSS.Regular_Expressions.Category_Maps;