aboutsummaryrefslogtreecommitdiff
path: root/docs/02.API-REFERENCE.md
diff options
context:
space:
mode:
authorSzilagyi Adam <aszilagy@inf.u-szeged.hu>2022-01-31 16:46:00 +0100
committerGitHub <noreply@github.com>2022-01-31 16:46:00 +0100
commit4924f9fd315e9281a89d0621f278f3a6c1c7efd2 (patch)
treee2fbdc0652209d62c696067bf239e5bfe5fae916 /docs/02.API-REFERENCE.md
parent76403606d08adb53023f7093c90ce2070a0e28fb (diff)
Remove ES_NEXT macro (#4915)
- remove all '#JERRY_ESNEXT' macro - remove 5.1 build profile, update test runner accordingly (Note: all builtins are turn on by default) - move tests from tests/jerry/esnext into tests/jerry, concatenate files with same names - add skiplist to some snapshot tests that were supported only in 5.1 - fix doxygen issues that were hidden before (bc. of es.next macro) Co-authored-by: Martin Negyokru negyokru@inf.u-szeged.hu JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
Diffstat (limited to 'docs/02.API-REFERENCE.md')
-rw-r--r--docs/02.API-REFERENCE.md50
1 files changed, 0 insertions, 50 deletions
diff --git a/docs/02.API-REFERENCE.md b/docs/02.API-REFERENCE.md
index 10ec7fdf..58c5fd31 100644
--- a/docs/02.API-REFERENCE.md
+++ b/docs/02.API-REFERENCE.md
@@ -2863,13 +2863,6 @@ jerry_value_is_object (const jerry_value_t value)
Returns whether the given `jerry_value_t` is a promise value.
-*Notes*:
-- This API depends on a build option (`JERRY_ESNEXT`) and can be checked
- in runtime with the `JERRY_FEATURE_PROMISE` feature enum value,
- see: [jerry_feature_enabled](#jerry_feature_enabled).
-- The es.next profile enables this by default.
-
-
**Prototype**
```c
@@ -2884,8 +2877,6 @@ jerry_value_is_promise (const jerry_value_t value)
*New in version 2.0*.
-*Changed in version [[NEXT_RELEASE]]*: Build option dependency changed from `JERRY_BUILTIN_PROMISE` to `JERRY_ESNEXT`.
-
**Example**
```c
@@ -3003,12 +2994,6 @@ jerry_value_is_string (const jerry_value_t value)
Returns whether the given `jerry_value_t` is a symbol value.
-*Notes*:
-- This API depends on a build option (`JERRY_BUILTIN_SYMBOL`) and can be checked
- in runtime with the `JERRY_FEATURE_SYMBOL` feature enum value,
- see: [jerry_feature_enabled](#jerry_feature_enabled).
-- The es.next profile enables this by default.
-
**Prototype**
```c
@@ -5728,11 +5713,6 @@ The function returns the result of a Promise object.
*Notes*:
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
is no longer needed.
-- This API depends on a build option (`JERRY_ESNEXT`) and can be checked
- in runtime with the `JERRY_FEATURE_PROMISE` feature enum value,
- see: [jerry_feature_enabled](#jerry_feature_enabled).
-- The es.next profile enables this by default.
-
**Prototype**
@@ -5750,8 +5730,6 @@ jerry_promise_result (const jerry_value_t promise);
*New in version 2.2*.
-*Changed in version [[NEXT_RELEASE]]*: Build option dependency changed from `JERRY_BUILTIN_PROMISE` to `JERRY_ESNEXT`.
-
**Example**
[doctest]: # (test="compile")
@@ -5796,11 +5774,6 @@ example (void)
*Notes*:
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
is no longer needed.
-- This API depends on a build option (`JERRY_ESNEXT`) and can be checked
- in runtime with the `JERRY_FEATURE_PROMISE` feature enum value,
- see: [jerry_feature_enabled](#jerry_feature_enabled).
-- The es.next profile enables this by default.
-
**Prototype**
@@ -5817,8 +5790,6 @@ jerry_promise_state (const jerry_value_t promise);
*New in version 2.2*.
-*Changed in version [[NEXT_RELEASE]]*: Build option dependency changed from `JERRY_BUILTIN_PROMISE` to `JERRY_ESNEXT`.
-
**Example**
[doctest]: # (test="compile")
@@ -6107,11 +6078,6 @@ Reject the promise with an argument.
*Note*:
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
is no longer needed.
-- This API depends on a build option (`JERRY_ESNEXT`) and can be checked
- in runtime with the `JERRY_FEATURE_PROMISE` feature enum value,
- see: [jerry_feature_enabled](#jerry_feature_enabled).
-- The es.next profile enables this by default.
-
**Prototype**
@@ -6128,8 +6094,6 @@ jerry_promise_reject (jerry_value_t promise, jerry_value_t argument);
*New in version 2.0*.
-*Changed in version [[NEXT_RELEASE]]*: Build option dependency changed from `JERRY_BUILTIN_PROMISE` to `JERRY_ESNEXT`.
-
**Example**
```c
@@ -6171,10 +6135,6 @@ Get the well-known symbol corresponding to the given [well-known symbol id](#jer
*Notes*:
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
is no longer needed.
-- This API depends on a build option (`JERRY_BUILTIN_SYMBOL`) and can be checked
- in runtime with the `JERRY_FEATURE_SYMBOL` feature enum value,
- see: [jerry_feature_enabled](#jerry_feature_enabled).
-- The es.next profile enables this by default.
- If the symbol support is not enabled an undefined will be returned.
**Prototype**
@@ -6231,11 +6191,6 @@ Returns with the `[[Description]]` internal property of a symbol value.
*Notes*:
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
is no longer needed.
-- This API depends on a build option (`JERRY_BUILTIN_SYMBOL`) and can be checked
- in runtime with the `JERRY_FEATURE_SYMBOL` feature enum value,
- see: [jerry_feature_enabled](#jerry_feature_enabled).
-- The es.next profile enables this by default.
-- If symbol support is not enabled an exception will be returned.
**Prototype**
@@ -6294,11 +6249,6 @@ Based on ECMA 262 v6 19.4.3.2.1 this is in the form of `Symbol(<description>)`.
*Notes*:
- Returned value must be freed with [jerry_value_free](#jerry_value_free) when it
is no longer needed.
-- This API depends on a build option (`JERRY_BUILTIN_SYMBOL`) and can be checked
- in runtime with the `JERRY_FEATURE_SYMBOL` feature enum value,
- see: [jerry_feature_enabled](#jerry_feature_enabled).
-- The es.next profile enables this by default.
-- If symbol support is not enabled an exception will be returned.
**Prototype**