aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4managed_p.h
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2018-05-29 22:41:34 +0200
committerRobin Burchell <robin.burchell@crimson.no>2018-06-01 11:53:37 +0000
commita0fcf724ef1d8586301a913d2cd744aed33e3605 (patch)
tree07f9c32d835b0323e591fc5dc6f840f3ce426528 /src/qml/jsruntime/qv4managed_p.h
parent19f657d9957e29034c719d6a6b015f7a78ae1a4a (diff)
Add the start of a Map from ES7
Like Set, for the time being, this is baseed on top of ArrayObject: two of them, one for keys, one for values. Again, this goes against the spirit of the spec (which requires nonlinear access), but having the API present is at least a start, and the implementation is easily changed. Change-Id: Idcf0ad8d92eb5daac734d52e8e2dd4c8e0dd5109 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4managed_p.h')
-rw-r--r--src/qml/jsruntime/qv4managed_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4managed_p.h b/src/qml/jsruntime/qv4managed_p.h
index 949b4cdcb4..f16bf3dc58 100644
--- a/src/qml/jsruntime/qv4managed_p.h
+++ b/src/qml/jsruntime/qv4managed_p.h
@@ -200,6 +200,7 @@ public:
Type_ExecutionContext,
Type_InternalClass,
Type_SetIteratorObject,
+ Type_MapIteratorObject,
Type_ArrayIteratorObject,
Type_StringIteratorObject,
Type_ForInIterator,