Home | History | Annotate | Download | only in src

Lines Matching refs:Add

804   inline void AddWork(RegExpNode* node) { work_list_->Add(node); }
1246 guards_->Add(guard);
2771 alt_gens_.Add(a_few_alt_gens_ + i);
2774 alt_gens_.Add(new AlternativeGeneration());
3267 stream()->Add("digraph G {\n graph [label=\"");
3271 stream()->Add("\\\\");
3274 stream()->Add("\"");
3281 stream()->Add("\"];\n");
3283 stream()->Add("}\n");
3296 stream()->Add(" n%p -> n%p [style=dotted];\n", from, on_failure);
3309 stream()->Add(" n%p:s%io%i -> n%p;\n",
3333 stream()->Add("|");
3335 stream()->Add("{\\%k-\\%k|{", from, entry.to());
3340 if (priority > 0) stream()->Add("|");
3341 stream()->Add("<s%io%i> %i", from, i, priority);
3345 stream()->Add("}}");
3363 out_->stream()->Add("|");
3369 out_->stream()->Add("{%s}", name);
3374 out_->stream()->Add("{%s|%x}", name, value);
3383 stream()->Add(" a%p [shape=Mrecord, color=grey, fontcolor=grey, "
3394 stream()->Add("}\"];\n");
3395 stream()->Add(" a%p -> n%p [style=dashed, color=grey, "
3403 stream()->Add(" n%p [shape=Mrecord, label=\"", that);
3406 stream()->Add("\"]\n", that);
3411 stream()->Add(" n%p [shape=Mrecord, label=\"?\"];\n", that);
3414 stream()->Add(" n%p -> n%p;\n", that, alt.node());
3425 stream()->Add(" n%p [label=\"", that);
3427 if (i > 0) stream()->Add(" ");
3431 stream()->Add("'%w'", elm.data.u_atom->data());
3436 stream()->Add("[");
3438 stream()->Add("^");
3441 stream()->Add("%k-%k", range.from(), range.to());
3443 stream()->Add("]");
3450 stream()->Add("\", shape=box, peripheries=2];\n");
3452 stream()->Add(" n%p -> n%p;\n", that, that->on_success());
3458 stream()->Add(" n%p [label=\"$%i..$%i\", shape=doubleoctagon];\n",
3463 stream()->Add(" n%p -> n%p;\n", that, that->on_success());
3469 stream()->Add(" n%p [style=bold, shape=point];\n", that);
3475 stream()->Add(" n%p [", that);
3478 stream()->Add("label=\"$\", shape=septagon");
3481 stream()->Add("label=\"^\", shape=septagon");
3484 stream()->Add("label=\"\\b\", shape=septagon");
3487 stream()->Add("label=\"\\B\", shape=septagon");
3490 stream()->Add("label=\"(?<=\\n)\", shape=septagon");
3493 stream()->Add("label=\"(?<=\\w)\", shape=septagon");
3496 stream()->Add("label=\"(?<=\\W)\", shape=septagon");
3499 stream()->Add("];\n");
3502 stream()->Add(" n%p -> n%p;\n", that, successor);
3508 stream()->Add(" n%p [", that);
3511 stream()->Add("label=\"$%i:=%i\", shape=octagon",
3516 stream()->Add("label=\"$%i++\", shape=octagon",
3520 stream()->Add("label=\"$%i:=$pos\", shape=octagon",
3524 stream()->Add("label=\"$%i:=$pos,begin\", shape=septagon",
3528 stream()->Add("label=\"escape\", shape=septagon");
3531 stream()->Add("label=\"$%i=$pos?,$%i<%i?\", shape=septagon",
3537 stream()->Add("label=\"clear $%i to $%i\", shape=septagon",
3543 stream()->Add("];\n");
3546 stream()->Add(" n%p -> n%p;\n", that, successor);
3562 stream()->Add("[%k-%k]: {", key, entry.to());
3570 stream()->Add(", ");
3572 stream()->Add("%i", i);
3575 stream()->Add("}\n");
3620 elms->Add(TextElement::Atom(this));
3959 // Add the two alternatives to the ChoiceNode.
4073 ranges->Add(CharacterRange(elmv[i], elmv[i + 1]));
4087 ranges->Add(CharacterRange(last, elmv[i] - 1));
4090 ranges->Add(CharacterRange(last, String::kMaxUtf16CodeUnit));
4124 ranges->Add(CharacterRange::Everything());
4167 (*target)->Add(CharacterRange(entry.from(), entry.to()));
4205 ranges->Add(CharacterRange::Singleton(chars[i]));
4222 // add a range if it is not already contained in the input, so [c-f]
4245 ranges->Add(CharacterRange(range_from, range_to));
4494 set->Add(range);
4632 negated_ranges->Add(CharacterRange(from + 1, range.from() - 1));
4637 negated_ranges->Add(CharacterRange(from + 1, String::kMaxUtf16CodeUnit));
4699 successors()->Add(result);
4711 remaining_->Add(value);
4756 // The right part is the one that overlaps. We add this part
4773 // then we have to add a range covering just that space.
4783 // If the overlapping range extends beyond the one we want to add
4784 // we have to snap the right part off and add it separately.
4805 // There is no overlap so we can just add the range
4967 all_set->Add(CharacterRange::Everything());
5106 range->Add(CharacterRange(first_char, first_char));
5272 // Add a .*? at the beginning, outside the body capture, unless