Home
last modified time | relevance | path

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

/external/v8/src/
Dast.cc713 bool RegExpAssertion::IsAnchoredAtStart() { in IsAnchoredAtStart()
714 return type() == RegExpAssertion::START_OF_INPUT; in IsAnchoredAtStart()
718 bool RegExpAssertion::IsAnchoredAtEnd() { in IsAnchoredAtEnd()
719 return type() == RegExpAssertion::END_OF_INPUT; in IsAnchoredAtEnd()
849 void* RegExpUnparser::VisitAssertion(RegExpAssertion* that, void* data) { in VisitAssertion()
851 case RegExpAssertion::START_OF_INPUT: in VisitAssertion()
854 case RegExpAssertion::END_OF_INPUT: in VisitAssertion()
857 case RegExpAssertion::START_OF_LINE: in VisitAssertion()
860 case RegExpAssertion::END_OF_LINE: in VisitAssertion()
863 case RegExpAssertion::BOUNDARY: in VisitAssertion()
[all …]
Dparser.cc5187 new(zone()) RegExpAssertion(RegExpAssertion::START_OF_LINE)); in ParseDisjunction()
5190 new(zone()) RegExpAssertion(RegExpAssertion::START_OF_INPUT)); in ParseDisjunction()
5197 RegExpAssertion::Type type = in ParseDisjunction()
5198 multiline_ ? RegExpAssertion::END_OF_LINE : in ParseDisjunction()
5199 RegExpAssertion::END_OF_INPUT; in ParseDisjunction()
5200 builder->AddAssertion(new(zone()) RegExpAssertion(type)); in ParseDisjunction()
5262 new(zone()) RegExpAssertion(RegExpAssertion::BOUNDARY)); in ParseDisjunction()
5267 new(zone()) RegExpAssertion(RegExpAssertion::NON_BOUNDARY)); in ParseDisjunction()
Dast.h136 class RegExpAssertion; variable
2263 class RegExpAssertion: public RegExpTree {
2273 explicit RegExpAssertion(Type type) : type_(type) { } in RegExpAssertion() function
2277 virtual RegExpAssertion* AsAssertion();
Djsregexp.cc3920 RegExpNode* RegExpAssertion::ToNode(RegExpCompiler* compiler, in ToNode()