aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4regexpobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-08-08 15:03:57 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-08-15 14:24:34 +0000
commitcecd8be881034153fc6b92e96f152a4a0c189ae4 (patch)
treecf554f3cb78ab6a0d02947870345d3660ddc36e0 /src/qml/jsruntime/qv4regexpobject_p.h
parent2e3d2565aab881d4b86911a59769e777de8a9c9f (diff)
Implement RegExp.prototype[Symbol.search]
Change-Id: Ie966628d020eb010eb5ecc3279fed2b002975728 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4regexpobject_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject_p.h b/src/qml/jsruntime/qv4regexpobject_p.h
index 71936e2450..1aebbf3e58 100644
--- a/src/qml/jsruntime/qv4regexpobject_p.h
+++ b/src/qml/jsruntime/qv4regexpobject_p.h
@@ -166,6 +166,7 @@ struct RegExpPrototype: RegExpObject
static ReturnedValue method_get_ignoreCase(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
static ReturnedValue method_match(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
static ReturnedValue method_get_multiline(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
+ static ReturnedValue method_search(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
static ReturnedValue method_get_source(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
static ReturnedValue method_get_sticky(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);
static ReturnedValue method_test(const FunctionObject *, const Value *thisObject, const Value *argv, int argc);