Searched refs:RegExpAssertion (Results 1 – 4 of 4) sorted by relevance
65 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 …]
211 new (zone()) RegExpAssertion(RegExpAssertion::START_OF_LINE)); in ParseDisjunction()214 new (zone()) RegExpAssertion(RegExpAssertion::START_OF_INPUT)); in ParseDisjunction()221 RegExpAssertion::AssertionType assertion_type = in ParseDisjunction()222 multiline_ ? RegExpAssertion::END_OF_LINE in ParseDisjunction()223 : RegExpAssertion::END_OF_INPUT; in ParseDisjunction()224 builder->AddAssertion(new (zone()) RegExpAssertion(assertion_type)); in ParseDisjunction()298 new (zone()) RegExpAssertion(RegExpAssertion::BOUNDARY)); in ParseDisjunction()303 new (zone()) RegExpAssertion(RegExpAssertion::NON_BOUNDARY)); in ParseDisjunction()
254 class RegExpAssertion final : public RegExpTree {264 explicit RegExpAssertion(AssertionType type) : assertion_type_(type) {} in RegExpAssertion() function267 RegExpAssertion* AsAssertion() override;
5272 RegExpNode* RegExpAssertion::ToNode(RegExpCompiler* compiler, in ToNode()