Home
last modified time | relevance | path

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

/external/v8/src/regexp/
Dregexp-ast.cc65 bool RegExpAssertion::IsAnchoredAtStart() { in IsAnchoredAtStart()
66 return assertion_type() == RegExpAssertion::START_OF_INPUT; in IsAnchoredAtStart()
70 bool RegExpAssertion::IsAnchoredAtEnd() { in IsAnchoredAtEnd()
71 return assertion_type() == RegExpAssertion::END_OF_INPUT; in IsAnchoredAtEnd()
195 void* RegExpUnparser::VisitAssertion(RegExpAssertion* that, void* data) { in VisitAssertion()
197 case RegExpAssertion::START_OF_INPUT: in VisitAssertion()
200 case RegExpAssertion::END_OF_INPUT: in VisitAssertion()
203 case RegExpAssertion::START_OF_LINE: in VisitAssertion()
206 case RegExpAssertion::END_OF_LINE: in VisitAssertion()
209 case RegExpAssertion::BOUNDARY: in VisitAssertion()
[all …]
Dregexp-parser.cc252 new (zone()) RegExpAssertion(RegExpAssertion::START_OF_LINE)); in ParseDisjunction()
255 new (zone()) RegExpAssertion(RegExpAssertion::START_OF_INPUT)); in ParseDisjunction()
262 RegExpAssertion::AssertionType assertion_type = in ParseDisjunction()
263 multiline() ? RegExpAssertion::END_OF_LINE in ParseDisjunction()
264 : RegExpAssertion::END_OF_INPUT; in ParseDisjunction()
265 builder->AddAssertion(new (zone()) RegExpAssertion(assertion_type)); in ParseDisjunction()
358 new (zone()) RegExpAssertion(RegExpAssertion::BOUNDARY)); in ParseDisjunction()
363 new (zone()) RegExpAssertion(RegExpAssertion::NON_BOUNDARY)); in ParseDisjunction()
Dregexp-ast.h263 class RegExpAssertion final : public RegExpTree {
273 explicit RegExpAssertion(AssertionType type) : assertion_type_(type) {} in RegExpAssertion() function
276 RegExpAssertion* AsAssertion() override;
Djsregexp.cc5623 RegExpNode* RegExpAssertion::ToNode(RegExpCompiler* compiler, in ToNode()