line |
true |
false |
branch |
158
|
0 |
0 |
if (__index >= _M_subexpr_count) |
159
|
0 |
0 |
__throw_regex_error(regex_constants::error_backref); |
160
|
0 |
0 |
for (auto __it : this->_M_paren_stack) |
161
|
0 |
0 |
if (__index == __it) |
162
|
0 |
0 |
__throw_regex_error(regex_constants::error_backref); |
166
|
0 |
0 |
return _M_insert_state(std::move(__tmp)); |
|
0 |
0 |
return _M_insert_state(std::move(__tmp)); |
173
|
0 |
0 |
for (auto& __it : *this) |
175
|
0 |
0 |
while (__it._M_next >= 0 && (*this)[__it._M_next]._M_opcode |
|
0 |
0 |
while (__it._M_next >= 0 && (*this)[__it._M_next]._M_opcode |
|
0 |
0 |
while (__it._M_next >= 0 && (*this)[__it._M_next]._M_opcode |
178
|
0 |
0 |
if (__it._M_opcode == _S_opcode_alternative |
|
0 |
0 |
if (__it._M_opcode == _S_opcode_alternative |
|
0 |
0 |
if (__it._M_opcode == _S_opcode_alternative |
181
|
0 |
0 |
while (__it._M_alt >= 0 && (*this)[__it._M_alt]._M_opcode |
|
0 |
0 |
while (__it._M_alt >= 0 && (*this)[__it._M_alt]._M_opcode |
|
0 |
0 |
while (__it._M_alt >= 0 && (*this)[__it._M_alt]._M_opcode |
193
|
0 |
0 |
std::stack<_StateIdT> __stack; |
|
0 |
0 |
std::stack<_StateIdT> __stack; |
194
|
0 |
0 |
__stack.push(_M_start); |
195
|
0 |
0 |
while (!__stack.empty()) |
199
|
0 |
0 |
auto __dup = _M_nfa[__u]; |
201
|
0 |
0 |
auto __id = _M_nfa._M_insert_state(__dup); |
|
0 |
0 |
auto __id = _M_nfa._M_insert_state(__dup); |
202
|
0 |
0 |
__m[__u] = __id; |
203
|
0 |
0 |
if (__dup._M_opcode == _S_opcode_alternative |
|
0 |
0 |
if (__dup._M_opcode == _S_opcode_alternative |
|
0 |
0 |
if (__dup._M_opcode == _S_opcode_alternative |
206
|
0 |
0 |
if (__dup._M_alt != _S_invalid_state_id |
|
0 |
0 |
if (__dup._M_alt != _S_invalid_state_id |
|
0 |
0 |
if (__dup._M_alt != _S_invalid_state_id |
207
|
0 |
0 |
&& __m.count(__dup._M_alt) == 0) |
208
|
0 |
0 |
__stack.push(__dup._M_alt); |
209
|
0 |
0 |
if (__u == _M_end) |
211
|
0 |
0 |
if (__dup._M_next != _S_invalid_state_id |
|
0 |
0 |
if (__dup._M_next != _S_invalid_state_id |
|
0 |
0 |
if (__dup._M_next != _S_invalid_state_id |
212
|
0 |
0 |
&& __m.count(__dup._M_next) == 0) |
213
|
0 |
0 |
__stack.push(__dup._M_next); |
|
0 |
0 |
__stack.push(__dup._M_next); |
215
|
0 |
0 |
for (auto __it : __m) |
219
|
0 |
0 |
if (__ref._M_next != _S_invalid_state_id) |
222
|
0 |
0 |
__ref._M_next = __m[__ref._M_next]; |
224
|
0 |
0 |
if (__ref._M_opcode == _S_opcode_alternative |
|
0 |
0 |
if (__ref._M_opcode == _S_opcode_alternative |
|
0 |
0 |
if (__ref._M_opcode == _S_opcode_alternative |
227
|
0 |
0 |
if (__ref._M_alt != _S_invalid_state_id) |
230
|
0 |
0 |
__ref._M_alt = __m[__ref._M_alt]; |
233
|
0 |
0 |
return _StateSeq(_M_nfa, __m[_M_start], __m[_M_end]); |
|
0 |
0 |
return _StateSeq(_M_nfa, __m[_M_start], __m[_M_end]); |