| 1 |
------------------------------------------------------------------------------ |
| 2 |
-- -- |
| 3 |
-- GNAT RUN-TIME COMPONENTS -- |
| 4 |
-- -- |
| 5 |
-- A D A . S T R I N G S -- |
| 6 |
-- -- |
| 7 |
-- S p e c -- |
| 8 |
-- -- |
| 9 |
-- This specification is derived 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 |
------------------------------------------------------------------------------ |
| 15 |
|
| 16 |
package Ada.Strings is |
| 17 |
pragma Pure; |
| 18 |
|
| 19 |
Space : constant Character := ' '; |
| 20 |
Wide_Space : constant Wide_Character := ' '; |
| 21 |
|
| 22 |
-- The following declaration is for Ada 2005 (AI-285) |
| 23 |
|
| 24 |
Wide_Wide_Space : constant Wide_Wide_Character := ' '; |
| 25 |
pragma Ada_05 (Wide_Wide_Space); |
| 26 |
|
| 27 |
Length_Error, Pattern_Error, Index_Error, Translation_Error : exception; |
| 28 |
|
| 29 |
type Alignment is (Left, Right, Center); |
| 30 |
type Truncation is (Left, Right, Error); |
| 31 |
type Membership is (Inside, Outside); |
| 32 |
type Direction is (Forward, Backward); |
| 33 |
type Trim_End is (Left, Right, Both); |
| 34 |
|
| 35 |
end Ada.Strings; |