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.cc211 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()
Dregexp-ast.h254 class RegExpAssertion final : public RegExpTree {
264 explicit RegExpAssertion(AssertionType type) : assertion_type_(type) {} in RegExpAssertion() function
267 RegExpAssertion* AsAssertion() override;
Djsregexp.cc5272 RegExpNode* RegExpAssertion::ToNode(RegExpCompiler* compiler, in ToNode()