* MAINTAINERS: (Write After Approval): Add myself.
[official-gcc.git] / gcc / ada / a-string.ads
blobefaa77d97ba2b59f8674e77dcb7e3ee0bcb0f120
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT RUNTIME COMPONENTS --
4 -- --
5 -- A D A . S T R I N G S --
6 -- --
7 -- S p e c --
8 -- --
9 -- --
10 -- This specification is adapted from the Ada Reference Manual for use with --
11 -- GNAT. In accordance with the copyright of that document, you can freely --
12 -- copy and modify this specification, provided that if you redistribute a --
13 -- modified version, any changes that you have made are clearly indicated. --
14 -- --
15 ------------------------------------------------------------------------------
17 package Ada.Strings is
18 pragma Pure (Strings);
20 Space : constant Character := ' ';
21 Wide_Space : constant Wide_Character := ' ';
23 Length_Error, Pattern_Error, Index_Error, Translation_Error : exception;
25 type Alignment is (Left, Right, Center);
26 type Truncation is (Left, Right, Error);
27 type Membership is (Inside, Outside);
28 type Direction is (Forward, Backward);
29 type Trim_End is (Left, Right, Both);
31 end Ada.Strings;