File indexing completed on 2025-01-18 09:51:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifndef BOOST_REGEX_SYNTAX_TYPE_HPP
0020 #define BOOST_REGEX_SYNTAX_TYPE_HPP
0021
0022 namespace boost{
0023 namespace regex_constants{
0024
0025 typedef unsigned char syntax_type;
0026
0027
0028
0029
0030 static const syntax_type syntax_char = 0;
0031 static const syntax_type syntax_open_mark = 1;
0032 static const syntax_type syntax_close_mark = 2;
0033 static const syntax_type syntax_dollar = 3;
0034 static const syntax_type syntax_caret = 4;
0035 static const syntax_type syntax_dot = 5;
0036 static const syntax_type syntax_star = 6;
0037 static const syntax_type syntax_plus = 7;
0038 static const syntax_type syntax_question = 8;
0039 static const syntax_type syntax_open_set = 9;
0040 static const syntax_type syntax_close_set = 10;
0041 static const syntax_type syntax_or = 11;
0042 static const syntax_type syntax_escape = 12;
0043 static const syntax_type syntax_dash = 14;
0044 static const syntax_type syntax_open_brace = 15;
0045 static const syntax_type syntax_close_brace = 16;
0046 static const syntax_type syntax_digit = 17;
0047 static const syntax_type syntax_comma = 27;
0048 static const syntax_type syntax_equal = 37;
0049 static const syntax_type syntax_colon = 36;
0050 static const syntax_type syntax_not = 53;
0051
0052
0053
0054 static const syntax_type syntax_hash = 13;
0055 static const syntax_type syntax_newline = 26;
0056
0057
0058
0059 typedef syntax_type escape_syntax_type;
0060
0061 static const escape_syntax_type escape_type_word_assert = 18;
0062 static const escape_syntax_type escape_type_not_word_assert = 19;
0063 static const escape_syntax_type escape_type_control_f = 29;
0064 static const escape_syntax_type escape_type_control_n = 30;
0065 static const escape_syntax_type escape_type_control_r = 31;
0066 static const escape_syntax_type escape_type_control_t = 32;
0067 static const escape_syntax_type escape_type_control_v = 33;
0068 static const escape_syntax_type escape_type_ascii_control = 35;
0069 static const escape_syntax_type escape_type_hex = 34;
0070 static const escape_syntax_type escape_type_unicode = 0;
0071 static const escape_syntax_type escape_type_identity = 0;
0072 static const escape_syntax_type escape_type_backref = syntax_digit;
0073 static const escape_syntax_type escape_type_decimal = syntax_digit;
0074 static const escape_syntax_type escape_type_class = 22;
0075 static const escape_syntax_type escape_type_not_class = 23;
0076
0077
0078
0079 static const escape_syntax_type escape_type_left_word = 20;
0080 static const escape_syntax_type escape_type_right_word = 21;
0081 static const escape_syntax_type escape_type_start_buffer = 24;
0082 static const escape_syntax_type escape_type_end_buffer = 25;
0083 static const escape_syntax_type escape_type_control_a = 28;
0084 static const escape_syntax_type escape_type_e = 38;
0085 static const escape_syntax_type escape_type_E = 47;
0086 static const escape_syntax_type escape_type_Q = 48;
0087 static const escape_syntax_type escape_type_X = 49;
0088 static const escape_syntax_type escape_type_C = 50;
0089 static const escape_syntax_type escape_type_Z = 51;
0090 static const escape_syntax_type escape_type_G = 52;
0091
0092 static const escape_syntax_type escape_type_property = 54;
0093 static const escape_syntax_type escape_type_not_property = 55;
0094 static const escape_syntax_type escape_type_named_char = 56;
0095 static const escape_syntax_type escape_type_extended_backref = 57;
0096 static const escape_syntax_type escape_type_reset_start_mark = 58;
0097 static const escape_syntax_type escape_type_line_ending = 59;
0098
0099 static const escape_syntax_type syntax_max = 60;
0100
0101 }
0102 }
0103
0104
0105 #endif