Home
last modified time | relevance | path

Searched refs:TextElement (Results 1 – 6 of 6) sorted by relevance

/third_party/node/deps/v8/src/regexp/
Dregexp-ast.h350 class TextElement final {
354 static TextElement Atom(RegExpAtom* atom);
355 static TextElement CharClass(RegExpCharacterClass* char_class);
376 TextElement(TextType text_type, RegExpTree* tree) in TextElement() function
394 void AddElement(TextElement elm, Zone* zone) { in AddElement()
398 ZoneList<TextElement>* elements() { return &elements_; } in elements()
401 ZoneList<TextElement> elements_;
Dregexp-compiler.cc196 text->AddElement(TextElement::Atom(this), zone); in AppendToText()
200 text->AddElement(TextElement::CharClass(this), zone); in AppendToText()
208 TextElement TextElement::Atom(RegExpAtom* atom) { in Atom()
209 return TextElement(ATOM, atom); in Atom()
212 TextElement TextElement::CharClass(RegExpCharacterClass* char_class) { in CharClass()
213 return TextElement(CHAR_CLASS, char_class); in CharClass()
216 int TextElement::length() const { in length()
1596 TextElement elm = elements()->at(k); in GetQuickCheckDetails()
1597 if (elm.text_type() == TextElement::ATOM) { in GetQuickCheckDetails()
1876 TextElement elm = elements()->at(i); in FilterOneByte()
[all …]
Dregexp-dotprinter.cc129 TextElement elm = that->elements()->at(i); in VisitText()
131 case TextElement::ATOM: { in VisitText()
138 case TextElement::CHAR_CLASS: { in VisitText()
Dregexp-nodes.h397 TextNode(ZoneList<TextElement>* elms, bool read_backward, in TextNode()
403 elms_(zone()->New<ZoneList<TextElement>>(1, zone())), in TextNode()
405 elms_->Add(TextElement::CharClass(that), zone()); in TextNode()
427 ZoneList<TextElement>* elements() { return elms_; } in elements()
454 ZoneList<TextElement>* elms_;
Dregexp-compiler-tonode.cc35 ZoneList<TextElement>* elms = in ToNode()
36 compiler->zone()->New<ZoneList<TextElement>>(1, compiler->zone()); in ToNode()
37 elms->Add(TextElement::Atom(this), compiler->zone()); in ToNode()
/third_party/node/deps/v8/src/regexp/experimental/
Dexperimental-compiler.cc81 for (TextElement& el : *node->elements()) { in VisitText()
617 for (TextElement& text_el : *node->elements()) { in VisitText()