comparison gcc/ada/libgnat/a-wichha.ads @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
23 -- by the implementation. For GNAT this is "Unicode v.v". 23 -- by the implementation. For GNAT this is "Unicode v.v".
24 24
25 function Is_Control (Item : Wide_Character) return Boolean; 25 function Is_Control (Item : Wide_Character) return Boolean;
26 pragma Inline (Is_Control); 26 pragma Inline (Is_Control);
27 -- Returns True if the Wide_Character designated by Item is categorized as 27 -- Returns True if the Wide_Character designated by Item is categorized as
28 -- other_control, otherwise returns false. 28 -- other_control, otherwise returns False.
29 29
30 function Is_Letter (Item : Wide_Character) return Boolean; 30 function Is_Letter (Item : Wide_Character) return Boolean;
31 pragma Inline (Is_Letter); 31 pragma Inline (Is_Letter);
32 -- Returns True if the Wide_Character designated by Item is categorized as 32 -- Returns True if the Wide_Character designated by Item is categorized as
33 -- letter_uppercase, letter_lowercase, letter_titlecase, letter_modifier, 33 -- letter_uppercase, letter_lowercase, letter_titlecase, letter_modifier,
34 -- letter_other, or number_letter. Otherwise returns false. 34 -- letter_other, or number_letter. Otherwise returns False.
35 35
36 function Is_Lower (Item : Wide_Character) return Boolean; 36 function Is_Lower (Item : Wide_Character) return Boolean;
37 pragma Inline (Is_Lower); 37 pragma Inline (Is_Lower);
38 -- Returns True if the Wide_Character designated by Item is categorized as 38 -- Returns True if the Wide_Character designated by Item is categorized as
39 -- letter_lowercase, otherwise returns false. 39 -- letter_lowercase, otherwise returns False.
40 40
41 function Is_Upper (Item : Wide_Character) return Boolean; 41 function Is_Upper (Item : Wide_Character) return Boolean;
42 pragma Inline (Is_Upper); 42 pragma Inline (Is_Upper);
43 -- Returns True if the Wide_Character designated by Item is categorized as 43 -- Returns True if the Wide_Character designated by Item is categorized as
44 -- letter_uppercase, otherwise returns false. 44 -- letter_uppercase, otherwise returns False.
45 45
46 function Is_Digit (Item : Wide_Character) return Boolean; 46 function Is_Digit (Item : Wide_Character) return Boolean;
47 pragma Inline (Is_Digit); 47 pragma Inline (Is_Digit);
48 -- Returns True if the Wide_Character designated by Item is categorized as 48 -- Returns True if the Wide_Character designated by Item is categorized as
49 -- number_decimal, otherwise returns false. 49 -- number_decimal, otherwise returns False.
50 50
51 function Is_Decimal_Digit (Item : Wide_Character) return Boolean 51 function Is_Decimal_Digit (Item : Wide_Character) return Boolean
52 renames Is_Digit; 52 renames Is_Digit;
53 53
54 function Is_Hexadecimal_Digit (Item : Wide_Character) return Boolean; 54 function Is_Hexadecimal_Digit (Item : Wide_Character) return Boolean;
55 -- Returns True if the Wide_Character designated by Item is categorized as 55 -- Returns True if the Wide_Character designated by Item is categorized as
56 -- number_decimal, or is in the range 'A' .. 'F' or 'a' .. 'f', otherwise 56 -- number_decimal, or is in the range 'A' .. 'F' or 'a' .. 'f', otherwise
57 -- returns false. 57 -- returns False.
58 58
59 function Is_Alphanumeric (Item : Wide_Character) return Boolean; 59 function Is_Alphanumeric (Item : Wide_Character) return Boolean;
60 pragma Inline (Is_Alphanumeric); 60 pragma Inline (Is_Alphanumeric);
61 -- Returns True if the Wide_Character designated by Item is categorized as 61 -- Returns True if the Wide_Character designated by Item is categorized as
62 -- number_decimal, or is in the range 'A' .. 'F' or 'a' .. 'f', otherwise 62 -- letter_uppercase, letter_lowercase, letter_titlecase, letter_modifier,
63 -- returns false. 63 -- letter_other, number_letter, or number_decimal; otherwise returns False.
64 64
65 function Is_Special (Item : Wide_Character) return Boolean; 65 function Is_Special (Item : Wide_Character) return Boolean;
66 pragma Inline (Is_Special); 66 pragma Inline (Is_Special);
67 -- Returns True if the Wide_Character designated by Item is categorized 67 -- Returns True if the Wide_Character designated by Item is categorized
68 -- as graphic_character, but not categorized as letter_uppercase, 68 -- as graphic_character, but not categorized as letter_uppercase,
69 -- letter_lowercase, letter_titlecase, letter_modifier, letter_other, 69 -- letter_lowercase, letter_titlecase, letter_modifier, letter_other,
70 -- number_letter, or number_decimal. Otherwise returns false. 70 -- number_letter, or number_decimal. Otherwise returns False.
71 71
72 function Is_Line_Terminator (Item : Wide_Character) return Boolean; 72 function Is_Line_Terminator (Item : Wide_Character) return Boolean;
73 pragma Inline (Is_Line_Terminator); 73 pragma Inline (Is_Line_Terminator);
74 -- Returns True if the Wide_Character designated by Item is categorized as 74 -- Returns True if the Wide_Character designated by Item is categorized as
75 -- separator_line or separator_paragraph, or if Item is a conventional line 75 -- separator_line or separator_paragraph, or if Item is a conventional line
76 -- terminator character (CR, LF, VT, or FF). Otherwise returns false. 76 -- terminator character (CR, LF, VT, or FF). Otherwise returns False.
77 77
78 function Is_Mark (Item : Wide_Character) return Boolean; 78 function Is_Mark (Item : Wide_Character) return Boolean;
79 pragma Inline (Is_Mark); 79 pragma Inline (Is_Mark);
80 -- Returns True if the Wide_Character designated by Item is categorized as 80 -- Returns True if the Wide_Character designated by Item is categorized as
81 -- mark_non_spacing or mark_spacing_combining, otherwise returns false. 81 -- mark_non_spacing or mark_spacing_combining, otherwise returns False.
82 82
83 function Is_Other_Format (Item : Wide_Character) return Boolean; 83 function Is_Other_Format (Item : Wide_Character) return Boolean;
84 pragma Inline (Is_Other_Format); 84 pragma Inline (Is_Other_Format);
85 -- Returns True if the Wide_Character designated by Item is categorized as 85 -- Returns True if the Wide_Character designated by Item is categorized as
86 -- other_format, otherwise returns false. 86 -- other_format, otherwise returns False.
87 87
88 function Is_Punctuation_Connector (Item : Wide_Character) return Boolean; 88 function Is_Punctuation_Connector (Item : Wide_Character) return Boolean;
89 pragma Inline (Is_Punctuation_Connector); 89 pragma Inline (Is_Punctuation_Connector);
90 -- Returns True if the Wide_Character designated by Item is categorized as 90 -- Returns True if the Wide_Character designated by Item is categorized as
91 -- punctuation_connector, otherwise returns false. 91 -- punctuation_connector, otherwise returns False.
92 92
93 function Is_Space (Item : Wide_Character) return Boolean; 93 function Is_Space (Item : Wide_Character) return Boolean;
94 pragma Inline (Is_Space); 94 pragma Inline (Is_Space);
95 -- Returns True if the Wide_Character designated by Item is categorized as 95 -- Returns True if the Wide_Character designated by Item is categorized as
96 -- separator_space, otherwise returns false. 96 -- separator_space, otherwise returns False.
97 97
98 function Is_Graphic (Item : Wide_Character) return Boolean; 98 function Is_Graphic (Item : Wide_Character) return Boolean;
99 pragma Inline (Is_Graphic); 99 pragma Inline (Is_Graphic);
100 -- Returns True if the Wide_Character designated by Item is categorized as 100 -- Returns True if the Wide_Character designated by Item is categorized as
101 -- graphic_character, otherwise returns false. 101 -- graphic_character, otherwise returns False.
102 102
103 function To_Lower (Item : Wide_Character) return Wide_Character; 103 function To_Lower (Item : Wide_Character) return Wide_Character;
104 pragma Inline (To_Lower); 104 pragma Inline (To_Lower);
105 -- Returns the Simple Lowercase Mapping of the Wide_Character designated by 105 -- Returns the Simple Lowercase Mapping of the Wide_Character designated by
106 -- Item. If the Simple Lowercase Mapping does not exist for the 106 -- Item. If the Simple Lowercase Mapping does not exist for the