summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-06-28 10:40:14 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-06-28 10:40:14 (GMT)
commit4bd7a5df86f1292ad2acaa16a9e9c493c94a9c79 (patch)
treef4f7a4c2fe7ff6d18f1a768cb0d352c9bd2b61e9 /doc
parent59c58576efd3ceff7add46a359fd99e56a2fb279 (diff)
parent5b90f7c27e7e4a95c75421fa42345b3268707794 (diff)
downloadQt-4bd7a5df86f1292ad2acaa16a9e9c493c94a9c79.zip
Qt-4bd7a5df86f1292ad2acaa16a9e9c493c94a9c79.tar.gz
Qt-4bd7a5df86f1292ad2acaa16a9e9c493c94a9c79.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: doc: update the ECMAScript reference Updated JavaScriptCore from /home/khansen/dev/qtwebkit-qtscript-integration to javascriptcore-snapshot-28062010 ( f483443ccd7d21f2a57a794c4d00a63505d2f5d9 ) doc: Added more DITA output to the XML generator
Diffstat (limited to 'doc')
-rw-r--r--doc/src/scripting/ecmascript.qdoc50
1 files changed, 47 insertions, 3 deletions
diff --git a/doc/src/scripting/ecmascript.qdoc b/doc/src/scripting/ecmascript.qdoc
index 4497a0b..508bf3b 100644
--- a/doc/src/scripting/ecmascript.qdoc
+++ b/doc/src/scripting/ecmascript.qdoc
@@ -30,8 +30,9 @@
\title ECMAScript Reference
\brief A list of objects, functions and properties supported by QtScript.
- This reference contains a list of objects, functions and
- properties supported by QtScript.
+ This reference contains a list of built-in objects, functions and
+ properties supported by QtScript. For a detailed description, see
+ the \l{ECMA-262} specification.
\tableofcontents
@@ -43,7 +44,6 @@
\o NaN
\o Infinity
\o undefined
- \o Math
\endlist
\section2 Function Properties
@@ -80,10 +80,33 @@
\o URIError
\endlist
+ \section2 Other Properties
+
+ \list
+ \o Math
+ \o JSON
+ \endlist
+
\section1 Object Objects
+ \section2 Object Constructor
+
+ \section3 Function Properties
+
+ \list
+ \o getPrototypeOf(O)
+ \o getOwnPropertyDescriptor(O, P)
+ \o getOwnPropertyNames(O)
+ \o create(O [, Properties])
+ \o defineProperty(O, P, Attributes)
+ \o defineProperties(O, Properties)
+ \o keys(O)
+ \endlist
+
\section2 Object Prototype Object
+ \section3 Function Properties
+
\list
\o toString()
\o toLocaleString()
@@ -124,6 +147,15 @@
\o sort(comparefn)
\o splice(start, deleteCount[, item1 [, item2 [, ...]]])
\o unshift([item1 [, item2 [, ...]]])
+ \o indexOf(searchElement [, fromIndex])
+ \o lastIndexOf(searchElement [, fromIndex])
+ \o every(callbackfn [, thisArg])
+ \o some(callbackfn [, thisArg])
+ \o forEach(callbackfn [, thisArg])
+ \o map(callbackfn [, thisArg])
+ \o filter(callbackfn [, thisArg])
+ \o reduce(callbackfn [, initialValue])
+ \o reduceRight(callbackfn [, initialValue])
\endlist
\section1 String Objects
@@ -151,6 +183,7 @@
\o toLocaleLowerCase()
\o toUpperCase()
\o toLocaleUpperCase()
+ \o trim()
\endlist
\section1 Boolean Objects
@@ -264,6 +297,8 @@
\o setFullYear(year [, month [, date]])
\o setUTCFullYear(year [, month [, date]])
\o toUTCString()
+ \o toISOString()
+ \o toJSON()
\endlist
\section1 RegExp Objects
@@ -295,4 +330,13 @@
\o toString()
\endlist
+ \section1 The JSON Object
+
+ \section2 Function Properties
+
+ \list
+ \o parse(text [, reviver])
+ \o stringify(value [, replacer [, space]])
+ \endlist
+
*/