Home
last modified time | relevance | path

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

/external/v8/src/regexp/
Dregexp-parser.h294 RegExpCapture* GetCapture(int index);
333 bool operator()(const RegExpCapture* lhs, const RegExpCapture* rhs) const { in operator()
344 ZoneList<RegExpCapture*>* captures_;
345 ZoneSet<RegExpCapture*, RegExpCaptureNameLess>* named_captures_;
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.h464 class RegExpCapture final : public RegExpTree {
466 explicit RegExpCapture(int index) in RegExpCapture() function
476 RegExpCapture* AsCapture() override;
584 RegExpBackReference(RegExpCapture* capture, JSRegExp::Flags flags) in RegExpBackReference()
595 RegExpCapture* capture() { return capture_; } in capture()
596 void set_capture(RegExpCapture* capture) { capture_ = capture; } in set_capture()
601 RegExpCapture* capture_;
Dregexp-parser.cc219 RegExpCapture* capture = GetCapture(capture_index); in ParseDisjunction()
388 RegExpCapture* capture = GetCapture(index); in ParseDisjunction()
880 RegExpCapture* capture = GetCapture(index); in CreateNamedCaptureAtIndex()
887 zone_->New<ZoneSet<RegExpCapture*, RegExpCaptureNameLess>>(zone()); in CreateNamedCaptureAtIndex()
952 RegExpCapture* search_capture = zone()->New<RegExpCapture>(kInvalidIndex); in PatchNamedBackReferences()
969 RegExpCapture* RegExpParser::GetCapture(int index) { in GetCapture()
976 captures_ = zone()->New<ZoneList<RegExpCapture*>>(know_captures, zone()); in GetCapture()
979 captures_->Add(zone()->New<RegExpCapture>(captures_->length() + 1), zone()); in GetCapture()
987 bool operator()(const RegExpCapture* lhs, const RegExpCapture* rhs) const { in operator ()()
1004 ZoneVector<RegExpCapture*> sorted_named_captures( in CreateCaptureNameMap()
Dregexp-compiler-tonode.cc850 RegExpCapture::StartRegister(index()), in ToNode()
851 RegExpCapture::EndRegister(index()), flags_, compiler->read_backward(), in ToNode()
921 RegExpNode* RegExpCapture::ToNode(RegExpCompiler* compiler, in ToNode()
926 RegExpNode* RegExpCapture::ToNode(RegExpTree* body, int index, in ToNode()
930 int start_reg = RegExpCapture::StartRegister(index); in ToNode()
931 int end_reg = RegExpCapture::EndRegister(index); in ToNode()
Dregexp-compiler.cc3837 RegExpCapture::ToNode(data->tree, 0, this, accept()); in PreprocessRegExp()
/external/v8/src/regexp/experimental/
Dexperimental-compiler.cc143 void* VisitCapture(RegExpCapture* node, void*) override { in VisitCapture()
589 void* VisitCapture(RegExpCapture* node, void*) override { in VisitCapture()
591 int start_register = RegExpCapture::StartRegister(index); in VisitCapture()
592 int end_register = RegExpCapture::EndRegister(index); in VisitCapture()
/external/v8/src/builtins/
Dbuiltins-regexp.cc62 BUILTIN(RegExpCapture##i##Getter) { \