| line |
true |
false |
branch |
|
78
|
0 |
0 |
_M_ctype(std::use_facet<_CtypeT>(__loc)) |
|
|
0 |
0 |
_M_ctype(std::use_facet<_CtypeT>(__loc)) |
|
|
0 |
0 |
_M_ctype(std::use_facet<_CtypeT>(__loc)) |
|
|
0 |
0 |
_M_ctype(std::use_facet<_CtypeT>(__loc)) |
|
|
0 |
0 |
_M_ctype(std::use_facet<_CtypeT>(__loc)) |
|
|
0 |
0 |
_M_ctype(std::use_facet<_CtypeT>(__loc)) |
|
81
|
0 |
0 |
__r._M_append(_M_nfa->_M_insert_subexpr_begin()); |
|
82
|
0 |
0 |
this->_M_disjunction(); |
|
83
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_eof)) |
|
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_eof)) |
|
84
|
0 |
0 |
__throw_regex_error(regex_constants::error_paren); |
|
85
|
0 |
0 |
__r._M_append(_M_pop()); |
|
87
|
0 |
0 |
__r._M_append(_M_nfa->_M_insert_subexpr_end()); |
|
88
|
0 |
0 |
__r._M_append(_M_nfa->_M_insert_accept()); |
|
98
|
0 |
0 |
while (_M_match_token(_ScannerT::_S_token_or)) |
|
100
|
0 |
0 |
_StateSeqT __alt1 = _M_pop(); |
|
101
|
0 |
0 |
this->_M_alternative(); |
|
102
|
0 |
0 |
_StateSeqT __alt2 = _M_pop(); |
|
103
|
0 |
0 |
auto __end = _M_nfa->_M_insert_dummy(); |
|
109
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
121
|
0 |
0 |
if (this->_M_term()) |
|
123
|
0 |
0 |
_StateSeqT __re = _M_pop(); |
|
124
|
0 |
0 |
this->_M_alternative(); |
|
125
|
0 |
0 |
__re._M_append(_M_pop()); |
|
126
|
0 |
0 |
_M_stack.push(__re); |
|
129
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, _M_nfa->_M_insert_dummy())); |
|
137
|
0 |
0 |
if (this->_M_assertion()) |
|
139
|
0 |
0 |
if (this->_M_atom()) |
|
141
|
0 |
0 |
while (this->_M_quantifier()); |
|
152
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_line_begin)) |
|
153
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, _M_nfa->_M_insert_line_begin())); |
|
154
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_line_end)) |
|
155
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, _M_nfa->_M_insert_line_end())); |
|
156
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_word_bound)) |
|
158
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, _M_nfa-> |
|
160
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_subexpr_lookahead_begin)) |
|
162
|
0 |
0 |
auto __neg = _M_value[0] == 'n'; |
|
163
|
0 |
0 |
this->_M_disjunction(); |
|
164
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_subexpr_end)) |
|
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_subexpr_end)) |
|
165
|
0 |
0 |
__throw_regex_error(regex_constants::error_paren); |
|
166
|
0 |
0 |
auto __tmp = _M_pop(); |
|
167
|
0 |
0 |
__tmp._M_append(_M_nfa->_M_insert_accept()); |
|
168
|
0 |
0 |
_M_stack.push( |
|
|
0 |
0 |
_M_stack.push( |
|
186
|
0 |
0 |
if (_M_stack.empty()) |
|
188
|
0 |
0 |
__neg = __neg && _M_match_token(_ScannerT::_S_token_opt); |
|
|
0 |
0 |
__neg = __neg && _M_match_token(_ScannerT::_S_token_opt); |
|
190
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_closure0)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_closure0)) |
|
192
|
0 |
0 |
__init(); |
|
193
|
0 |
0 |
auto __e = _M_pop(); |
|
196
|
0 |
0 |
__e._M_start, __neg)); |
|
198
|
0 |
0 |
_M_stack.push(__r); |
|
200
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_closure1)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_closure1)) |
|
202
|
0 |
0 |
__init(); |
|
203
|
0 |
0 |
auto __e = _M_pop(); |
|
204
|
0 |
0 |
__e._M_append(_M_nfa->_M_insert_repeat(_S_invalid_state_id, |
|
206
|
0 |
0 |
_M_stack.push(__e); |
|
208
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_opt)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_opt)) |
|
210
|
0 |
0 |
__init(); |
|
211
|
0 |
0 |
auto __e = _M_pop(); |
|
212
|
0 |
0 |
auto __end = _M_nfa->_M_insert_dummy(); |
|
215
|
0 |
0 |
__e._M_start, __neg)); |
|
218
|
0 |
0 |
_M_stack.push(__r); |
|
220
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_interval_begin)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_interval_begin)) |
|
222
|
0 |
0 |
if (_M_stack.empty()) |
|
223
|
0 |
0 |
__throw_regex_error(regex_constants::error_badrepeat); |
|
224
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_dup_count)) |
|
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_dup_count)) |
|
225
|
0 |
0 |
__throw_regex_error(regex_constants::error_badbrace); |
|
226
|
0 |
0 |
_StateSeqT __r(_M_pop()); |
|
227
|
0 |
0 |
_StateSeqT __e(*_M_nfa, _M_nfa->_M_insert_dummy()); |
|
228
|
0 |
0 |
long __min_rep = _M_cur_int_value(10); |
|
233
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_comma)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_comma)) |
|
234
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_dup_count)) // {3,7} |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_dup_count)) // {3,7} |
|
235
|
0 |
0 |
__n = _M_cur_int_value(10) - __min_rep; |
|
240
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_interval_end)) |
|
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_interval_end)) |
|
241
|
0 |
0 |
__throw_regex_error(regex_constants::error_brace); |
|
243
|
0 |
0 |
__neg = __neg && _M_match_token(_ScannerT::_S_token_opt); |
|
|
0 |
0 |
__neg = __neg && _M_match_token(_ScannerT::_S_token_opt); |
|
|
0 |
0 |
__neg = __neg && _M_match_token(_ScannerT::_S_token_opt); |
|
245
|
0 |
0 |
for (long __i = 0; __i < __min_rep; ++__i) |
|
246
|
0 |
0 |
__e._M_append(__r._M_clone()); |
|
248
|
0 |
0 |
if (__infi) |
|
250
|
0 |
0 |
auto __tmp = __r._M_clone(); |
|
253
|
0 |
0 |
__tmp._M_start, __neg)); |
|
259
|
0 |
0 |
if (__n < 0) |
|
260
|
0 |
0 |
__throw_regex_error(regex_constants::error_badbrace); |
|
261
|
0 |
0 |
auto __end = _M_nfa->_M_insert_dummy(); |
|
265
|
0 |
0 |
std::stack<_StateIdT> __stack; |
|
|
0 |
0 |
std::stack<_StateIdT> __stack; |
|
266
|
0 |
0 |
for (long __i = 0; __i < __n; ++__i) |
|
268
|
0 |
0 |
auto __tmp = __r._M_clone(); |
|
270
|
0 |
0 |
__end, __neg); |
|
271
|
0 |
0 |
__stack.push(__alt); |
|
275
|
0 |
0 |
while (!__stack.empty()) |
|
282
|
0 |
0 |
_M_stack.push(__e); |
|
308
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_anychar)) |
|
310
|
0 |
0 |
if (!(_M_flags & regex_constants::ECMAScript)) |
|
311
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_any_matcher_posix); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_any_matcher_posix); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_any_matcher_posix); |
|
313
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_any_matcher_ecma); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_any_matcher_ecma); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_any_matcher_ecma); |
|
315
|
0 |
0 |
else if (_M_try_char()) |
|
316
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_char_matcher); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_char_matcher); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_char_matcher); |
|
317
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_backref)) |
|
318
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, _M_nfa-> |
|
320
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_quoted_class)) |
|
321
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_character_class_matcher); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_character_class_matcher); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_character_class_matcher); |
|
322
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_subexpr_no_group_begin)) |
|
324
|
0 |
0 |
_StateSeqT __r(*_M_nfa, _M_nfa->_M_insert_dummy()); |
|
325
|
0 |
0 |
this->_M_disjunction(); |
|
326
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_subexpr_end)) |
|
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_subexpr_end)) |
|
327
|
0 |
0 |
__throw_regex_error(regex_constants::error_paren); |
|
328
|
0 |
0 |
__r._M_append(_M_pop()); |
|
329
|
0 |
0 |
_M_stack.push(__r); |
|
331
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_subexpr_begin)) |
|
333
|
0 |
0 |
_StateSeqT __r(*_M_nfa, _M_nfa->_M_insert_subexpr_begin()); |
|
334
|
0 |
0 |
this->_M_disjunction(); |
|
335
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_subexpr_end)) |
|
|
0 |
0 |
if (!_M_match_token(_ScannerT::_S_token_subexpr_end)) |
|
336
|
0 |
0 |
__throw_regex_error(regex_constants::error_paren); |
|
337
|
0 |
0 |
__r._M_append(_M_pop()); |
|
338
|
0 |
0 |
__r._M_append(_M_nfa->_M_insert_subexpr_end()); |
|
339
|
0 |
0 |
_M_stack.push(__r); |
|
341
|
0 |
0 |
else if (!_M_bracket_expression()) |
|
353
|
0 |
0 |
if (!(__neg || _M_match_token(_ScannerT::_S_token_bracket_begin))) |
|
|
0 |
0 |
if (!(__neg || _M_match_token(_ScannerT::_S_token_bracket_begin))) |
|
|
0 |
0 |
if (!(__neg || _M_match_token(_ScannerT::_S_token_bracket_begin))) |
|
355
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_bracket_matcher, __neg); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_bracket_matcher, __neg); |
|
|
0 |
0 |
__INSERT_REGEX_MATCHER(_M_insert_bracket_matcher, __neg); |
|
366
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
378
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
390
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
404
|
0 |
0 |
(_M_ctype.is(_CtypeT::upper, _M_value[0]), _M_traits); |
|
|
0 |
0 |
(_M_ctype.is(_CtypeT::upper, _M_value[0]), _M_traits); |
|
|
0 |
0 |
(_M_ctype.is(_CtypeT::upper, _M_value[0]), _M_traits); |
|
|
0 |
0 |
(_M_ctype.is(_CtypeT::upper, _M_value[0]), _M_traits); |
|
|
0 |
0 |
(_M_ctype.is(_CtypeT::upper, _M_value[0]), _M_traits); |
|
|
0 |
0 |
(_M_ctype.is(_CtypeT::upper, _M_value[0]), _M_traits); |
|
|
0 |
0 |
(_M_ctype.is(_CtypeT::upper, _M_value[0]), _M_traits); |
|
|
0 |
0 |
(_M_ctype.is(_CtypeT::upper, _M_value[0]), _M_traits); |
|
405
|
0 |
0 |
__matcher._M_add_character_class(_M_value, false); |
|
|
0 |
0 |
__matcher._M_add_character_class(_M_value, false); |
|
|
0 |
0 |
__matcher._M_add_character_class(_M_value, false); |
|
|
0 |
0 |
__matcher._M_add_character_class(_M_value, false); |
|
406
|
0 |
0 |
__matcher._M_ready(); |
|
|
0 |
0 |
__matcher._M_ready(); |
|
|
0 |
0 |
__matcher._M_ready(); |
|
|
0 |
0 |
__matcher._M_ready(); |
|
407
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
|
0 |
0 |
_M_stack.push(_StateSeqT(*_M_nfa, |
|
417
|
0 |
0 |
_BracketMatcher<_TraitsT, __icase, __collate> __matcher(__neg, _M_traits); |
|
|
0 |
0 |
_BracketMatcher<_TraitsT, __icase, __collate> __matcher(__neg, _M_traits); |
|
|
0 |
0 |
_BracketMatcher<_TraitsT, __icase, __collate> __matcher(__neg, _M_traits); |
|
|
0 |
0 |
_BracketMatcher<_TraitsT, __icase, __collate> __matcher(__neg, _M_traits); |
|
420
|
0 |
0 |
if (!(_M_flags & regex_constants::ECMAScript)) |
|
|
0 |
0 |
if (!(_M_flags & regex_constants::ECMAScript)) |
|
|
0 |
0 |
if (!(_M_flags & regex_constants::ECMAScript)) |
|
|
0 |
0 |
if (!(_M_flags & regex_constants::ECMAScript)) |
|
421
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
423
|
0 |
0 |
__matcher._M_add_char(_M_value[0]); |
|
|
0 |
0 |
__matcher._M_add_char(_M_value[0]); |
|
|
0 |
0 |
__matcher._M_add_char(_M_value[0]); |
|
|
0 |
0 |
__matcher._M_add_char(_M_value[0]); |
|
|
0 |
0 |
__matcher._M_add_char(_M_value[0]); |
|
|
0 |
0 |
__matcher._M_add_char(_M_value[0]); |
|
|
0 |
0 |
__matcher._M_add_char(_M_value[0]); |
|
|
0 |
0 |
__matcher._M_add_char(_M_value[0]); |
|
425
|
0 |
0 |
__last_char.second = _M_value[0]; |
|
|
0 |
0 |
__last_char.second = _M_value[0]; |
|
|
0 |
0 |
__last_char.second = _M_value[0]; |
|
|
0 |
0 |
__last_char.second = _M_value[0]; |
|
427
|
0 |
0 |
while (_M_expression_term(__last_char, __matcher)); |
|
|
0 |
0 |
while (_M_expression_term(__last_char, __matcher)); |
|
|
0 |
0 |
while (_M_expression_term(__last_char, __matcher)); |
|
|
0 |
0 |
while (_M_expression_term(__last_char, __matcher)); |
|
|
0 |
0 |
while (_M_expression_term(__last_char, __matcher)); |
|
|
0 |
0 |
while (_M_expression_term(__last_char, __matcher)); |
|
|
0 |
0 |
while (_M_expression_term(__last_char, __matcher)); |
|
|
0 |
0 |
while (_M_expression_term(__last_char, __matcher)); |
|
428
|
0 |
0 |
__matcher._M_ready(); |
|
|
0 |
0 |
__matcher._M_ready(); |
|
|
0 |
0 |
__matcher._M_ready(); |
|
|
0 |
0 |
__matcher._M_ready(); |
|
429
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
|
0 |
0 |
_M_stack.push(_StateSeqT( |
|
441
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_bracket_end)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_bracket_end)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_bracket_end)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_bracket_end)) |
|
444
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_collsymbol)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_collsymbol)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_collsymbol)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_collsymbol)) |
|
446
|
0 |
0 |
auto __symbol = __matcher._M_add_collate_element(_M_value); |
|
|
0 |
0 |
auto __symbol = __matcher._M_add_collate_element(_M_value); |
|
|
0 |
0 |
auto __symbol = __matcher._M_add_collate_element(_M_value); |
|
|
0 |
0 |
auto __symbol = __matcher._M_add_collate_element(_M_value); |
|
447
|
0 |
0 |
if (__symbol.size() == 1) |
|
|
0 |
0 |
if (__symbol.size() == 1) |
|
|
0 |
0 |
if (__symbol.size() == 1) |
|
|
0 |
0 |
if (__symbol.size() == 1) |
|
450
|
0 |
0 |
__last_char.second = __symbol[0]; |
|
|
0 |
0 |
__last_char.second = __symbol[0]; |
|
|
0 |
0 |
__last_char.second = __symbol[0]; |
|
|
0 |
0 |
__last_char.second = __symbol[0]; |
|
453
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_equiv_class_name)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_equiv_class_name)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_equiv_class_name)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_equiv_class_name)) |
|
455
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_char_class_name)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_char_class_name)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_char_class_name)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_char_class_name)) |
|
467
|
0 |
0 |
else if (_M_try_char()) |
|
|
0 |
0 |
else if (_M_try_char()) |
|
|
0 |
0 |
else if (_M_try_char()) |
|
|
0 |
0 |
else if (_M_try_char()) |
|
469
|
0 |
0 |
if (!__last_char.first) |
|
|
0 |
0 |
if (!__last_char.first) |
|
|
0 |
0 |
if (!__last_char.first) |
|
|
0 |
0 |
if (!__last_char.first) |
|
472
|
0 |
0 |
if (_M_value[0] == '-' |
|
|
0 |
0 |
if (_M_value[0] == '-' |
|
|
0 |
0 |
if (_M_value[0] == '-' |
|
|
0 |
0 |
if (_M_value[0] == '-' |
|
475
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_bracket_end)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_bracket_end)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_bracket_end)) |
|
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_bracket_end)) |
|
484
|
0 |
0 |
if (_M_value[0] == '-') |
|
|
0 |
0 |
if (_M_value[0] == '-') |
|
|
0 |
0 |
if (_M_value[0] == '-') |
|
|
0 |
0 |
if (_M_value[0] == '-') |
|
486
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
|
0 |
0 |
if (_M_try_char()) |
|
506
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_quoted_class)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_quoted_class)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_quoted_class)) |
|
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_quoted_class)) |
|
522
|
0 |
0 |
if (_M_match_token(_ScannerT::_S_token_oct_num)) |
|
527
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_hex_num)) |
|
532
|
0 |
0 |
else if (_M_match_token(_ScannerT::_S_token_ord_char)) |
|
542
|
0 |
0 |
if (token == _M_scanner._M_get_token()) |
|
557
|
0 |
0 |
for (typename _StringT::size_type __i = 0; |
|
569
|
0 |
0 |
_M_translator._M_translate(__ch)); |
|
|
0 |
0 |
_M_translator._M_translate(__ch)); |
|
|
0 |
0 |
_M_translator._M_translate(__ch)); |
|
|
0 |
0 |
_M_translator._M_translate(__ch)); |
|
570
|
0 |
0 |
if (!__ret) |
|
|
0 |
0 |
if (!__ret) |
|
|
0 |
0 |
if (!__ret) |
|
|
0 |
0 |
if (!__ret) |
|
572
|
0 |
0 |
auto __s = _M_translator._M_transform(__ch); |
|
|
0 |
0 |
auto __s = _M_translator._M_transform(__ch); |
|
573
|
0 |
0 |
for (auto& __it : _M_range_set) |
|
|
0 |
0 |
for (auto& __it : _M_range_set) |
|
|
0 |
0 |
for (auto& __it : _M_range_set) |
|
|
0 |
0 |
for (auto& __it : _M_range_set) |
|
574
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
|
0 |
0 |
if (__it.first <= __s && __s <= __it.second) |
|
579
|
0 |
0 |
if (_M_traits.isctype(__ch, _M_class_set)) |
|
|
0 |
0 |
if (_M_traits.isctype(__ch, _M_class_set)) |
|
|
0 |
0 |
if (_M_traits.isctype(__ch, _M_class_set)) |
|
|
0 |
0 |
if (_M_traits.isctype(__ch, _M_class_set)) |
|
|
0 |
0 |
if (_M_traits.isctype(__ch, _M_class_set)) |
|
|
0 |
0 |
if (_M_traits.isctype(__ch, _M_class_set)) |
|
581
|
0 |
0 |
else if (std::find(_M_equiv_set.begin(), _M_equiv_set.end(), |
|
|
0 |
0 |
else if (std::find(_M_equiv_set.begin(), _M_equiv_set.end(), |
|
|
0 |
0 |
else if (std::find(_M_equiv_set.begin(), _M_equiv_set.end(), |
|
|
0 |
0 |
else if (std::find(_M_equiv_set.begin(), _M_equiv_set.end(), |
|
|
0 |
0 |
else if (std::find(_M_equiv_set.begin(), _M_equiv_set.end(), |
|
|
0 |
0 |
else if (std::find(_M_equiv_set.begin(), _M_equiv_set.end(), |
|
|
0 |
0 |
else if (std::find(_M_equiv_set.begin(), _M_equiv_set.end(), |
|
|
0 |
0 |
else if (std::find(_M_equiv_set.begin(), _M_equiv_set.end(), |
|
583
|
0 |
0 |
!= _M_equiv_set.end()) |
|
|
0 |
0 |
!= _M_equiv_set.end()) |
|
|
0 |
0 |
!= _M_equiv_set.end()) |
|
|
0 |
0 |
!= _M_equiv_set.end()) |
|
587
|
0 |
0 |
for (auto& __it : _M_neg_class_set) |
|
|
0 |
0 |
for (auto& __it : _M_neg_class_set) |
|
|
0 |
0 |
for (auto& __it : _M_neg_class_set) |
|
|
0 |
0 |
for (auto& __it : _M_neg_class_set) |
|
588
|
0 |
0 |
if (!_M_traits.isctype(__ch, __it)) |
|
|
0 |
0 |
if (!_M_traits.isctype(__ch, __it)) |
|
|
0 |
0 |
if (!_M_traits.isctype(__ch, __it)) |
|
|
0 |
0 |
if (!_M_traits.isctype(__ch, __it)) |
|
|
0 |
0 |
if (!_M_traits.isctype(__ch, __it)) |
|
|
0 |
0 |
if (!_M_traits.isctype(__ch, __it)) |
|
|
0 |
0 |
if (!_M_traits.isctype(__ch, __it)) |
|
|
0 |
0 |
if (!_M_traits.isctype(__ch, __it)) |
|
595
|
0 |
0 |
if (_M_is_non_matching) |
|
|
0 |
0 |
if (_M_is_non_matching) |
|
|
0 |
0 |
if (_M_is_non_matching) |
|
|
0 |
0 |
if (_M_is_non_matching) |