Home
last modified time | relevance | path

Searched refs:RegExpAssertion (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/
Dast.cc885 bool RegExpAssertion::IsAnchoredAtStart() { in IsAnchoredAtStart()
886 return type() == RegExpAssertion::START_OF_INPUT; in IsAnchoredAtStart()
890 bool RegExpAssertion::IsAnchoredAtEnd() { in IsAnchoredAtEnd()
891 return type() == RegExpAssertion::END_OF_INPUT; in IsAnchoredAtEnd()
1021 void* RegExpUnparser::VisitAssertion(RegExpAssertion* that, void* data) { in VisitAssertion()
1023 case RegExpAssertion::START_OF_INPUT: in VisitAssertion()
1026 case RegExpAssertion::END_OF_INPUT: in VisitAssertion()
1029 case RegExpAssertion::START_OF_LINE: in VisitAssertion()
1032 case RegExpAssertion::END_OF_LINE: in VisitAssertion()
1035 case RegExpAssertion::BOUNDARY: in VisitAssertion()
[all …]
Dparser.cc4367 new(zone()) RegExpAssertion(RegExpAssertion::START_OF_LINE)); in ParseDisjunction()
4370 new(zone()) RegExpAssertion(RegExpAssertion::START_OF_INPUT)); in ParseDisjunction()
4377 RegExpAssertion::Type type = in ParseDisjunction()
4378 multiline_ ? RegExpAssertion::END_OF_LINE : in ParseDisjunction()
4379 RegExpAssertion::END_OF_INPUT; in ParseDisjunction()
4380 builder->AddAssertion(new(zone()) RegExpAssertion(type)); in ParseDisjunction()
4441 new(zone()) RegExpAssertion(RegExpAssertion::BOUNDARY)); in ParseDisjunction()
4446 new(zone()) RegExpAssertion(RegExpAssertion::NON_BOUNDARY)); in ParseDisjunction()
Dast.h1866 class RegExpAssertion: public RegExpTree {
1876 explicit RegExpAssertion(Type type) : type_(type) { } in RegExpAssertion() function
1880 virtual RegExpAssertion* AsAssertion();
Djsregexp.cc3857 RegExpNode* RegExpAssertion::ToNode(RegExpCompiler* compiler, in ToNode()