2005-01-22 Thomas Koenig <Thomas.Koenig@online.de>
[official-gcc.git] / gcc / ada / a-string.ads
blobe8ec5ac3690f9e1031f73e17b76438cf57df8af5
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 -- This specification is adapted from the Ada Reference Manual for use with --
10 -- GNAT. In accordance with the copyright of that document, you can freely --
11 -- copy and modify this specification, provided that if you redistribute a --
12 -- modified version, any changes that you have made are clearly indicated. --
13 -- --
14 ------------------------------------------------------------------------------
16 package Ada.Strings is
17 pragma Pure (Strings);
19 Space : constant Character := ' ';
20 Wide_Space : constant Wide_Character := ' ';
22 Length_Error, Pattern_Error, Index_Error, Translation_Error : exception;
24 type Alignment is (Left, Right, Center);
25 type Truncation is (Left, Right, Error);
26 type Membership is (Inside, Outside);
27 type Direction is (Forward, Backward);
28 type Trim_End is (Left, Right, Both);
30 end Ada.Strings;