Lines Matching refs:on_success
1252 RegExpNode* on_success) {
1253 ActionNode* result = new ActionNode(SET_REGISTER, on_success);
1260 ActionNode* ActionNode::IncrementRegister(int reg, RegExpNode* on_success) {
1261 ActionNode* result = new ActionNode(INCREMENT_REGISTER, on_success);
1269 RegExpNode* on_success) {
1270 ActionNode* result = new ActionNode(STORE_POSITION, on_success);
1278 RegExpNode* on_success) {
1279 ActionNode* result = new ActionNode(CLEAR_CAPTURES, on_success);
1288 RegExpNode* on_success) {
1289 ActionNode* result = new ActionNode(BEGIN_SUBMATCH, on_success);
1300 RegExpNode* on_success) {
1301 ActionNode* result = new ActionNode(POSITIVE_SUBMATCH_SUCCESS, on_success);
1313 RegExpNode* on_success) {
1314 ActionNode* result = new ActionNode(EMPTY_MATCH_CHECK, on_success);
1714 return on_success()->EatsAtLeast(still_to_find,
1730 return on_success()->EatsAtLeast(still_to_find,
1740 return on_success()->EatsAtLeast(still_to_find,
1753 return answer + on_success()->EatsAtLeast(still_to_find - answer,
2074 on_success()-> GetQuickCheckDetails(details,
2219 RegExpNode* on_success,
2248 on_success->Emit(compiler, &new_trace);
2256 RegExpNode* on_success,
2288 on_success->Emit(compiler, &new_trace);
2295 RegExpNode* on_success,
2355 on_success->Emit(compiler, &new_trace);
2367 return on_success()->GetQuickCheckDetails(details,
2393 on_success()->Emit(compiler, &at_start_trace);
2399 EmitHat(compiler, on_success(), trace);
2403 EmitBoundaryCheck(type_, compiler, on_success(), trace);
2408 EmitHalfBoundaryCheck(type_, compiler, on_success(), trace);
2411 on_success()->Emit(compiler, trace);
2607 on_success()->Emit(compiler, &successor_trace);
2685 node = seq_node->on_success();
3108 on_success()->Emit(compiler, &new_trace);
3116 on_success()->Emit(compiler, &new_trace);
3124 on_success()->Emit(compiler, &new_trace);
3133 on_success()->Emit(compiler, &new_trace);
3144 on_success()->Emit(compiler, trace);
3160 on_success()->Emit(compiler, trace);
3176 on_success()->Emit(compiler, trace);
3191 on_success()->Emit(compiler, trace);
3198 on_success()->Emit(compiler, &new_trace);
3234 on_success()->Emit(compiler, trace);
3452 stream()->Add(" n%p -> n%p;\n", that, that->on_success());
3453 Visit(that->on_success());
3463 stream()->Add(" n%p -> n%p;\n", that, that->on_success());
3464 Visit(that->on_success());
3501 RegExpNode* successor = that->on_success();
3545 RegExpNode* successor = that->on_success();
3618 RegExpNode* on_success) {
3621 return new TextNode(elms, on_success);
3626 RegExpNode* on_success) {
3627 return new TextNode(elements(), on_success);
3717 RegExpNode* on_success) {
3718 return new TextNode(this, on_success);
3723 RegExpNode* on_success) {
3729 on_success));
3737 RegExpNode* on_success) {
3743 on_success);
3790 RegExpNode* on_success,
3814 if (max == 0) return on_success; // This can happen due to recursion.
3832 0, new_max, is_greedy, body, compiler, on_success, true);
3847 RegExpNode* answer = on_success;
3853 alternation->AddAlternative(GuardedAlternative(on_success));
3855 alternation->AddAlternative(GuardedAlternative(on_success));
3900 GuardedAlternative rest_alt(on_success);
3921 RegExpNode* on_success) {
3925 return AssertionNode::AfterNewline(on_success);
3927 return AssertionNode::AtStart(on_success);
3929 return AssertionNode::AtBoundary(on_success);
3931 return AssertionNode::AtNonBoundary(on_success);
3933 return AssertionNode::AtEnd(on_success);
3953 on_success));
3962 GuardedAlternative end_alternative(AssertionNode::AtEnd(on_success));
3969 return on_success;
3974 RegExpNode* on_success) {
3977 on_success);
3982 RegExpNode* on_success) {
3983 return on_success;
3988 RegExpNode* on_success) {
4009 on_success)));
4031 GuardedAlternative(on_success));
4040 RegExpNode* on_success) {
4041 return ToNode(body(), index(), compiler, on_success);
4048 RegExpNode* on_success) {
4051 RegExpNode* store_end = ActionNode::StorePosition(end_reg, true, on_success);
4058 RegExpNode* on_success) {
4060 RegExpNode* current = on_success;
4874 EnsureAnalyzed(that->on_success());
4882 RegExpNode* target = that->on_success();
4925 EnsureAnalyzed(that->on_success());
4930 EnsureAnalyzed(that->on_success());
5058 ASSERT_NOT_NULL(on_success());
5059 budget = on_success()->ComputeFirstCharacterSet(budget);
5061 set_first_character_set(on_success()->first_character_set());
5075 ASSERT_NOT_NULL(on_success());
5076 budget = on_success()->ComputeFirstCharacterSet(budget);
5078 set_first_character_set(on_success()->first_character_set());
5089 // and the first characters of the on_success node, depending on whether the
5191 RegExpNode* target = that->on_success();
5248 RegExpNode* target = that->on_success();