Home
last modified time | relevance | path

Searched refs:capture_index (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/regexp/
Dregexp-parser.cc172 int capture_index = state->capture_index(); in ParseDisjunction() local
177 RegExpCapture* capture = GetCapture(capture_index); in ParseDisjunction()
185 body, is_positive, end_capture_index - capture_index, in ParseDisjunction()
186 capture_index, state->lookaround_type()); in ParseDisjunction()
633 if (index == s->capture_index()) return true; in IsInsideCaptureGroup()
635 if (index > s->capture_index()) return false; in IsInsideCaptureGroup()
Dregexp-parser.h224 int capture_index() { return disjunction_capture_index_; } in capture_index() function
/external/v8/src/runtime/
Druntime-regexp.cc51 static inline ReplacementPart SubjectCapture(int capture_index) { in SubjectCapture()
52 return ReplacementPart(SUBJECT_CAPTURE, capture_index); in SubjectCapture()