summaryrefslogtreecommitdiff
path: root/mozilla-config.h.in
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2022-12-21 18:53:27 +0100
committerMartok <martok@martoks-place.de>2022-12-21 18:53:27 +0100
commitb356d64f4e69af8cf1f2eaf87d1f328bdd24127e (patch)
treef2d5df6d2bc16818cc71283363d54f56af80da39 /mozilla-config.h.in
parent9a0807a62c96d72387b218d840eb6bb8afb5916d (diff)
downloaduxp-b356d64f4e69af8cf1f2eaf87d1f328bdd24127e.tar.gz
Issue #1285 - implement named capturing groups and named backrefs
- RegExpParser collects seen groups in named_captures_. - After irregexp::ParsePattern has finished, RegExpParser::StoreNamedCaptureMap translates the parser data to RegExpCompileData.capture_name/index - RegExpShared::initializeNamedCaptures takes these and builds a PlainObject map which is kept with the compiled expression This is done because irregexp doesn't have access to the JS context and so can't allocate any JSValues itself. - for each match result, this map is used to build PlainObjects of name->match/undefined (extremely simplified from upstream at the expense of some perf) IonMonkey switches to non-masm code path for expressions with named groups.
Diffstat (limited to 'mozilla-config.h.in')
0 files changed, 0 insertions, 0 deletions