Lines Matching refs:TextElement
737 text->AddElement(TextElement::Atom(this));
742 text->AddElement(TextElement::CharClass(this));
752 TextElement TextElement::Atom(RegExpAtom* atom) {
753 TextElement result = TextElement(ATOM);
759 TextElement TextElement::CharClass(
761 TextElement result = TextElement(CHAR_CLASS);
767 int TextElement::length() {
1945 TextElement elm = elms_->at(k);
1946 if (elm.type == TextElement::ATOM) {
2471 TextElement elm = elms_->at(i);
2473 if (elm.type == TextElement::ATOM) {
2511 ASSERT_EQ(elm.type, TextElement::CHAR_CLASS);
2531 TextElement elm = elms_->last();
2533 if (elm.type == TextElement::ATOM) {
2638 TextElement elm = elms_->at(i);
2639 if (elm.type == TextElement::CHAR_CLASS) {
2655 TextElement elm = elms_->at(elms_->length() - 1);
2656 if (elm.type == TextElement::CHAR_CLASS) {
3428 TextElement elm = that->elements()->at(i);
3430 case TextElement::ATOM: {
3434 case TextElement::CHAR_CLASS: {
3619 ZoneList<TextElement>* elms = new ZoneList<TextElement>(1);
3620 elms->Add(TextElement::Atom(this));
4859 TextElement& elm = elements()->at(i);
4861 if (elm.type == TextElement::ATOM) {
5100 TextElement text = elements()->at(0);
5101 if (text.type == TextElement::ATOM) {
5109 ASSERT(text.type == TextElement::CHAR_CLASS);
5222 TextElement elm = that->elements()->at(0);
5224 case TextElement::ATOM: {
5229 case TextElement::CHAR_CLASS: {