HomeSort by relevance Sort by last modified time
    Searched refs:RegExpTree (Results 1 - 7 of 7) sorted by null

  /external/v8/src/regexp/
regexp-ast.cc 19 RegExp##Name* RegExpTree::As##Name() { return NULL; } \
20 bool RegExpTree::Is##Name() { return false; }
31 static Interval ListCaptureRegisters(ZoneList<RegExpTree*>* children) {
76 ZoneList<RegExpTree*>* nodes = this->nodes();
78 RegExpTree* node = nodes->at(i);
91 ZoneList<RegExpTree*>* nodes = this->nodes();
93 RegExpTree* node = nodes->at(i);
106 ZoneList<RegExpTree*>* alternatives = this->alternatives();
115 ZoneList<RegExpTree*>* alternatives = this->alternatives();
248 if (that->max() == RegExpTree::kInfinity)
    [all...]
regexp-ast.h 34 class RegExpTree;
162 RegExpTree* tree() const { return tree_; }
175 TextElement(TextType text_type, RegExpTree* tree)
180 RegExpTree* tree_;
184 class RegExpTree : public ZoneObject {
187 virtual ~RegExpTree() {}
209 class RegExpDisjunction final : public RegExpTree {
211 explicit RegExpDisjunction(ZoneList<RegExpTree*>* alternatives);
221 ZoneList<RegExpTree*>* alternatives() { return alternatives_; }
227 ZoneList<RegExpTree*>* alternatives_
    [all...]
regexp-parser.h 108 void AddAtom(RegExpTree* tree);
109 void AddAssertion(RegExpTree* tree);
113 RegExpTree* ToRegExp();
124 BufferedZoneList<RegExpTree, 2> terms_;
125 BufferedZoneList<RegExpTree, 2> text_;
126 BufferedZoneList<RegExpTree, 2> alternatives_;
145 RegExpTree* ParsePattern();
146 RegExpTree* ParseDisjunction();
147 RegExpTree* ParseGroup();
148 RegExpTree* ParseCharacterClass()
    [all...]
regexp-parser.cc 103 RegExpTree* RegExpParser::ReportError(Vector<const char> message) {
120 RegExpTree* RegExpParser::ParsePattern() {
121 RegExpTree* result = ParseDisjunction(CHECK_FAILED);
142 RegExpTree* RegExpParser::ParseDisjunction() {
168 RegExpTree* body = builder->ToRegExp();
233 RegExpTree* atom = new (zone()) RegExpCharacterClass(ranges, false);
285 RegExpTree* atom = ParseCharacterClass(CHECK_FAILED);
321 RegExpTree* atom = new (zone()) RegExpCharacterClass(ranges, false);
345 RegExpTree* atom = new (zone()) RegExpBackReference(capture);
479 max = RegExpTree::kInfinity
    [all...]
jsregexp.cc     [all...]
jsregexp.h 19 class RegExpTree;
    [all...]
  /external/v8/test/cctest/
test-regexp.cc 394 CHECK_MIN_MAX("(ab)\\1", 2, RegExpTree::kInfinity);
395 CHECK_MIN_MAX("(ab|cde)\\1", 2, RegExpTree::kInfinity);
397 CHECK_MIN_MAX("(?:ab)*", 0, RegExpTree::kInfinity);
398 CHECK_MIN_MAX("(?:ab)+", 2, RegExpTree::kInfinity);
400 CHECK_MIN_MAX("a*", 0, RegExpTree::kInfinity);
401 CHECK_MIN_MAX("a+", 1, RegExpTree::kInfinity);
403 CHECK_MIN_MAX("a*?", 0, RegExpTree::kInfinity);
404 CHECK_MIN_MAX("a+?", 1, RegExpTree::kInfinity);
406 CHECK_MIN_MAX("(?:a*)?", 0, RegExpTree::kInfinity);
407 CHECK_MIN_MAX("(?:a+)?", 0, RegExpTree::kInfinity)
    [all...]

Completed in 117 milliseconds