Home
last modified time | relevance | path

Searched refs:RegExpCapture (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/regexp/
Dregexp-ast.cc54 Interval RegExpCapture::CaptureRegisters() { in CaptureRegisters()
128 bool RegExpCapture::IsAnchoredAtStart() { return body()->IsAnchoredAtStart(); } in IsAnchoredAtStart()
131 bool RegExpCapture::IsAnchoredAtEnd() { return body()->IsAnchoredAtEnd(); } in IsAnchoredAtEnd()
260 void* RegExpUnparser::VisitCapture(RegExpCapture* that, void* data) { in VisitCapture()
Dregexp-ast.h402 class RegExpCapture final : public RegExpTree {
404 explicit RegExpCapture(int index) : body_(NULL), index_(index) {} in RegExpCapture() function
409 RegExpCapture* AsCapture() override;
465 explicit RegExpBackReference(RegExpCapture* capture) : capture_(capture) {} in RegExpBackReference()
475 RegExpCapture* capture() { return capture_; } in capture()
478 RegExpCapture* capture_;
Dregexp-parser.h243 RegExpCapture* GetCapture(int index);
258 ZoneList<RegExpCapture*>* captures_;
Dregexp-parser.cc177 RegExpCapture* capture = GetCapture(capture_index); in ParseDisjunction()
344 RegExpCapture* capture = GetCapture(index); in ParseDisjunction()
613 RegExpCapture* RegExpParser::GetCapture(int index) { in GetCapture()
620 captures_ = new (zone()) ZoneList<RegExpCapture*>(know_captures, zone()); in GetCapture()
623 captures_->Add(new (zone()) RegExpCapture(captures_->length() + 1), zone()); in GetCapture()
Djsregexp.cc5329 BackReferenceNode(RegExpCapture::StartRegister(index()), in ToNode()
5330 RegExpCapture::EndRegister(index()), in ToNode()
5389 RegExpNode* RegExpCapture::ToNode(RegExpCompiler* compiler, in ToNode()
5395 RegExpNode* RegExpCapture::ToNode(RegExpTree* body, in ToNode()
5400 int start_reg = RegExpCapture::StartRegister(index); in ToNode()
5401 int end_reg = RegExpCapture::EndRegister(index); in ToNode()
6285 RegExpNode* captured_body = RegExpCapture::ToNode(data->tree, in Compile()