Home
last modified time | relevance | path

Searched refs:RegExpCapture (Results 1 – 6 of 6) 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.h414 class RegExpCapture final : public RegExpTree {
416 explicit RegExpCapture(int index) in RegExpCapture() function
422 RegExpCapture* AsCapture() override;
518 explicit RegExpBackReference(RegExpCapture* capture) in RegExpBackReference()
529 RegExpCapture* capture() { return capture_; } in capture()
530 void set_capture(RegExpCapture* capture) { capture_ = capture; } in set_capture()
535 RegExpCapture* capture_;
Dregexp-parser.h274 RegExpCapture* GetCapture(int index);
310 ZoneList<RegExpCapture*>* captures_;
311 ZoneList<RegExpCapture*>* named_captures_;
Dregexp-parser.cc216 RegExpCapture* capture = GetCapture(capture_index); in ParseDisjunction()
430 RegExpCapture* capture = GetCapture(index); in ParseDisjunction()
774 named_captures_ = new (zone()) ZoneList<RegExpCapture*>(1, zone()); in CreateNamedCaptureAtIndex()
785 RegExpCapture* capture = GetCapture(index); in CreateNamedCaptureAtIndex()
857 RegExpCapture* RegExpParser::GetCapture(int index) { in GetCapture()
864 captures_ = new (zone()) ZoneList<RegExpCapture*>(know_captures, zone()); in GetCapture()
867 captures_->Add(new (zone()) RegExpCapture(captures_->length() + 1), zone()); in GetCapture()
882 RegExpCapture* capture = named_captures_->at(i); in CreateCaptureNameMap()
Djsregexp.cc5680 BackReferenceNode(RegExpCapture::StartRegister(index()), in ToNode()
5681 RegExpCapture::EndRegister(index()), in ToNode()
5756 RegExpNode* RegExpCapture::ToNode(RegExpCompiler* compiler, in ToNode()
5762 RegExpNode* RegExpCapture::ToNode(RegExpTree* body, in ToNode()
5767 int start_reg = RegExpCapture::StartRegister(index); in ToNode()
5768 int end_reg = RegExpCapture::EndRegister(index); in ToNode()
6641 RegExpNode* captured_body = RegExpCapture::ToNode(data->tree, in Compile()
/external/v8/src/builtins/
Dbuiltins-regexp.cc1163 BUILTIN(RegExpCapture##i##Getter) { \