@@ -35,7 +35,7 @@ codet character_refine_preprocesst::convert_char_function(
35
35
36
36
// / The returned expression is true when the first argument is in the interval
37
37
// / defined by the lower and upper bounds (included)
38
- // / \param arg : Expression we want to bound
38
+ // / \param chr : Expression we want to bound
39
39
// / \param lower_bound: Integer lower bound
40
40
// / \param upper_bound: Integer upper bound
41
41
// / \return A Boolean expression
@@ -65,7 +65,7 @@ exprt character_refine_preprocesst::in_list_expr(
65
65
66
66
// / Determines the number of char values needed to represent the specified
67
67
// / character (Unicode code point).
68
- // / \param expr : An expression of type character
68
+ // / \param chr : An expression of type character
69
69
// / \param type: A type for the output
70
70
// / \return A integer expression of the given type
71
71
exprt character_refine_preprocesst::expr_of_char_count (
@@ -308,7 +308,7 @@ codet character_refine_preprocesst::convert_hash_code(conversion_inputt &target)
308
308
// / Returns the leading surrogate (a high surrogate code unit) of the surrogate
309
309
// / pair representing the specified supplementary character (Unicode code point)
310
310
// / in the UTF-16 encoding.
311
- // / \param expr : An expression of type character
311
+ // / \param chr : An expression of type character
312
312
// / \param type: A type for the output
313
313
// / \return An expression of the given type
314
314
exprt character_refine_preprocesst::expr_of_high_surrogate (
@@ -342,7 +342,7 @@ exprt character_refine_preprocesst::expr_of_is_ascii_lower_case(
342
342
}
343
343
344
344
// / Determines if the specified character is an ASCII uppercase character.
345
- // / \param expr : An expression of type character
345
+ // / \param chr : An expression of type character
346
346
// / \param type: A type for the output
347
347
// / \return A Boolean expression
348
348
exprt character_refine_preprocesst::expr_of_is_ascii_upper_case (
@@ -356,7 +356,7 @@ exprt character_refine_preprocesst::expr_of_is_ascii_upper_case(
356
356
// / TODO: for now this is only for ASCII characters, the
357
357
// / following unicode categories are not yet considered:
358
358
// / TITLECASE_LETTER MODIFIER_LETTER OTHER_LETTER LETTER_NUMBER
359
- // / \param expr : An expression of type character
359
+ // / \param chr : An expression of type character
360
360
// / \param type: A type for the output
361
361
// / \return An expression of the given type
362
362
exprt character_refine_preprocesst::expr_of_is_letter (
@@ -374,7 +374,7 @@ exprt character_refine_preprocesst::expr_of_is_letter(
374
374
// / TITLECASE_LETTER MODIFIER_LETTER OTHER_LETTER LETTER_NUMBER
375
375
// / and contributory property Other_Alphabetic as defined by the
376
376
// / Unicode Standard.
377
- // / \param expr : An expression of type character
377
+ // / \param chr : An expression of type character
378
378
// / \param type: A type for the output
379
379
// / \return An expression of the given type
380
380
exprt character_refine_preprocesst::expr_of_is_alphabetic (
@@ -396,7 +396,7 @@ codet character_refine_preprocesst::convert_is_alphabetic(
396
396
// / Determines whether the specified character (Unicode code point) is in the
397
397
// / Basic Multilingual Plane (BMP). Such code points can be represented using a
398
398
// / single char.
399
- // / \param expr : An expression of type character
399
+ // / \param chr : An expression of type character
400
400
// / \param type: A type for the output
401
401
// / \return A Boolean expression
402
402
exprt character_refine_preprocesst::expr_of_is_bmp_code_point (
@@ -417,7 +417,7 @@ codet character_refine_preprocesst::convert_is_bmp_code_point(
417
417
}
418
418
419
419
// / Determines if a character is defined in Unicode.
420
- // / \param expr : An expression of type character
420
+ // / \param chr : An expression of type character
421
421
// / \param type: A type for the output
422
422
// / \return An expression of the given type
423
423
exprt character_refine_preprocesst::expr_of_is_defined (
@@ -475,11 +475,11 @@ codet character_refine_preprocesst::convert_is_defined_int(
475
475
// / DECIMAL_DIGIT_NUMBER.
476
476
// /
477
477
// / TODO: for now we only support these ranges of digits:
478
- // / '\u0030' through '\u0039', ISO-LATIN-1 digits ('0' through '9')
479
- // / '\u0660' through '\u0669', Arabic-Indic digits
480
- // / '\u06F0' through '\u06F9', Extended Arabic-Indic digits
481
- // / '\u0966' through '\u096F', Devanagari digits
482
- // / '\uFF10' through '\uFF19', Fullwidth digits
478
+ // / '\\ u0030' through '\ \u0039', ISO-LATIN-1 digits ('0' through '9')
479
+ // / '\\ u0660' through '\ \u0669', Arabic-Indic digits
480
+ // / '\\ u06F0' through '\ \u06F9', Extended Arabic-Indic digits
481
+ // / '\\ u0966' through '\ \u096F', Devanagari digits
482
+ // / '\\ uFF10' through '\ \uFF19', Fullwidth digits
483
483
// / Many other character ranges contain digits as well.
484
484
// / \param chr: An expression of type character
485
485
// / \param type: A type for the output
@@ -519,7 +519,7 @@ codet character_refine_preprocesst::convert_is_digit_int(
519
519
520
520
// / Determines if the given char value is a Unicode high-surrogate code unit
521
521
// / (also known as leading-surrogate code unit).
522
- // / \param expr : An expression of type character
522
+ // / \param chr : An expression of type character
523
523
// / \param type: A type for the output
524
524
// / \return A Boolean expression
525
525
exprt character_refine_preprocesst::expr_of_is_high_surrogate (
@@ -539,11 +539,11 @@ codet character_refine_preprocesst::convert_is_high_surrogate(
539
539
}
540
540
541
541
// / Determines if the character is one of ignorable in a Java identifier, that
542
- // / is, it is in one of these ranges: '\u0000' through '\u0008' '\u000E' through
543
- // / '\ u001B' '\u007F' through '\u009F'
542
+ // / is, it is in one of these ranges: '\\ u0000' through '\\ u0008' '\\ u000E'
543
+ // / through '\\ u001B' '\\ u007F' through '\ \u009F'
544
544
// /
545
545
// / TODO: For now, we ignore the FORMAT general category value
546
- // / \param expr : An expression of type character
546
+ // / \param chr : An expression of type character
547
547
// / \param type: A type for the output
548
548
// / \return A Boolean expression
549
549
exprt character_refine_preprocesst::expr_of_is_identifier_ignorable (
@@ -770,7 +770,7 @@ codet character_refine_preprocesst::convert_is_low_surrogate(
770
770
// / specification.
771
771
// /
772
772
// / TODO: For now only ASCII characters are considered
773
- // / \param expr : An expression of type character
773
+ // / \param chr : An expression of type character
774
774
// / \param type: A type for the output
775
775
// / \return An expression of the given type
776
776
exprt character_refine_preprocesst::expr_of_is_mirrored (
@@ -812,7 +812,7 @@ codet character_refine_preprocesst::convert_is_space(conversion_inputt &target)
812
812
813
813
// / Determines if the specified character is white space according to Unicode
814
814
// / (SPACE_SEPARATOR, LINE_SEPARATOR, or PARAGRAPH_SEPARATOR)
815
- // / \param expr : An expression of type character
815
+ // / \param chr : An expression of type character
816
816
// / \param type: A type for the output
817
817
// / \return A Boolean expression
818
818
exprt character_refine_preprocesst::expr_of_is_space_char (
@@ -846,7 +846,7 @@ codet character_refine_preprocesst::convert_is_space_char_int(
846
846
847
847
// / Determines whether the specified character (Unicode code point) is in the
848
848
// / supplementary character range.
849
- // / \param expr : An expression of type character
849
+ // / \param chr : An expression of type character
850
850
// / \param type: A type for the output
851
851
// / \return A Boolean expression
852
852
exprt character_refine_preprocesst::expr_of_is_supplementary_code_point (
@@ -866,7 +866,7 @@ codet character_refine_preprocesst::convert_is_supplementary_code_point(
866
866
}
867
867
868
868
// / Determines if the given char value is a Unicode surrogate code unit.
869
- // / \param expr : An expression of type character
869
+ // / \param chr : An expression of type character
870
870
// / \param type: A type for the output
871
871
// / \return A Boolean expression
872
872
exprt character_refine_preprocesst::expr_of_is_surrogate (
@@ -902,7 +902,7 @@ codet character_refine_preprocesst::convert_is_surrogate_pair(
902
902
}
903
903
904
904
// / Determines if the specified character is a titlecase character.
905
- // / \param expr : An expression of type character
905
+ // / \param chr : An expression of type character
906
906
// / \param type: A type for the output
907
907
// / \return A Boolean expression
908
908
exprt character_refine_preprocesst::expr_of_is_title_case (
@@ -939,7 +939,7 @@ codet character_refine_preprocesst::convert_is_title_case_int(
939
939
940
940
// / Determines if the specified character is in the LETTER_NUMBER category of
941
941
// / Unicode
942
- // / \param expr : An expression of type character
942
+ // / \param chr : An expression of type character
943
943
// / \param type: A type for the output
944
944
// / \return A Boolean expression
945
945
exprt character_refine_preprocesst::expr_of_is_letter_number (
@@ -966,7 +966,7 @@ exprt character_refine_preprocesst::expr_of_is_letter_number(
966
966
// /
967
967
// / TODO: For now we do not allow connecting punctuation, combining mark,
968
968
// / non-spacing mark
969
- // / \param expr : An expression of type character
969
+ // / \param chr : An expression of type character
970
970
// / \param type: A type for the output
971
971
// / \return A Boolean expression
972
972
exprt character_refine_preprocesst::expr_of_is_unicode_identifier_part (
@@ -1074,9 +1074,9 @@ codet character_refine_preprocesst::convert_is_valid_code_point(
1074
1074
// / Determines if the specified character is white space according to Java. It
1075
1075
// / is the case when it one of the following: * a Unicode space character
1076
1076
// / (SPACE_SEPARATOR, LINE_SEPARATOR, or PARAGRAPH_SEPARATOR) but is not also a
1077
- // / non-breaking space ('\u00A0', '\u2007', '\u202F'). * it is one of these:
1077
+ // / non-breaking space ('\\ u00A0', '\\ u2007', '\ \u202F'). * it is one of these:
1078
1078
// / U+0009 U+000A U+000B U+000C U+000D U+001C U+001D U+001E U+001F
1079
- // / \param expr : An expression of type character
1079
+ // / \param chr : An expression of type character
1080
1080
// / \param type: A type for the output
1081
1081
// / \return A Boolean expression
1082
1082
exprt character_refine_preprocesst::expr_of_is_whitespace (
@@ -1115,7 +1115,7 @@ codet character_refine_preprocesst::convert_is_whitespace_int(
1115
1115
// / Returns the trailing surrogate (a low surrogate code unit) of the surrogate
1116
1116
// / pair representing the specified supplementary character (Unicode code point)
1117
1117
// / in the UTF-16 encoding.
1118
- // / \param expr : An expression of type character
1118
+ // / \param chr : An expression of type character
1119
1119
// / \param type: A type for the output
1120
1120
// / \return A integer expression of the given type
1121
1121
exprt character_refine_preprocesst::expr_of_low_surrogate (
@@ -1138,7 +1138,7 @@ codet character_refine_preprocesst::convert_low_surrogate(
1138
1138
1139
1139
// / Returns the value obtained by reversing the order of the bytes in the
1140
1140
// / specified char value.
1141
- // / \param expr : An expression of type character
1141
+ // / \param chr : An expression of type character
1142
1142
// / \param type: A type for the output
1143
1143
// / \return A character expression of the given type
1144
1144
exprt character_refine_preprocesst::expr_of_reverse_bytes (
@@ -1164,7 +1164,7 @@ codet character_refine_preprocesst::convert_reverse_bytes(
1164
1164
// / (Basic Multilingual Plane or Plane 0) value, the resulting char array has
1165
1165
// / the same value as codePoint. If the specified code point is a supplementary
1166
1166
// / code point, the resulting char array has the corresponding surrogate pair.
1167
- // / \param expr : An expression of type character
1167
+ // / \param chr : An expression of type character
1168
1168
// / \param type: A type for the output
1169
1169
// / \return A character array expression of the given type
1170
1170
exprt character_refine_preprocesst::expr_of_to_chars (
0 commit comments