• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright JS Foundation and other contributors, http://js.foundation
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 /*
17  * Intrinsic built-in description
18  */
19 
20 #include "ecma-builtin-helpers-macro-defines.inc.h"
21 
22 #if ENABLED (JERRY_ES2015)
23 
24 /* ECMA-262 v6, 19.4.2.2 */
25 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_HAS_INSTANCE,
26               LIT_MAGIC_STRING_HAS_INSTANCE)
27 
28 /* ECMA-262 v6, 19.4.2.3 */
29 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_IS_CONCAT_SPREADABLE,
30               LIT_MAGIC_STRING_IS_CONCAT_SPREADABLE)
31 
32 /* ECMA-262 v6, 19.4.2.4 */
33 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_ITERATOR,
34               LIT_MAGIC_STRING_ITERATOR)
35 
36 /* ECMA-262 v6, 19.4.2.6 */
37 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_MATCH,
38               LIT_MAGIC_STRING_MATCH)
39 
40 /* ECMA-262 v6, 19.4.2.8 */
41 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_REPLACE,
42               LIT_MAGIC_STRING_REPLACE)
43 
44 /* ECMA-262 v6, 19.4.2.9 */
45 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_SEARCH,
46               LIT_MAGIC_STRING_SEARCH)
47 
48 /* ECMA-262 v6, 19.4.2.10 */
49 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_SPECIES,
50               LIT_MAGIC_STRING_SPECIES)
51 
52 /* ECMA-262 v6, 19.4.2.11 */
53 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_SPLIT,
54               LIT_MAGIC_STRING_SPLIT)
55 
56 /* ECMA-262 v6, 19.4.2.12 */
57 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_TO_PRIMITIVE,
58               LIT_MAGIC_STRING_TO_PRIMITIVE)
59 
60 /* ECMA-262 v6, 19.4.2.13 */
61 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_TO_STRING_TAG,
62               LIT_MAGIC_STRING_TO_STRING_TAG)
63 
64 /* ECMA-262 v6, 19.4.2.14 */
65 SYMBOL_VALUE (LIT_GLOBAL_SYMBOL_UNSCOPABLES,
66               LIT_MAGIC_STRING_UNSCOPABLES)
67 /* Routine properties:
68  *  (property name, C routine name, arguments number or NON_FIXED, value of the routine's length property) */
69 ROUTINE (LIT_MAGIC_STRING_PARSE_FLOAT, ECMA_INTRINSIC_PARSE_FLOAT, 1, 1)
70 ROUTINE (LIT_MAGIC_STRING_PARSE_INT, ECMA_INTRINSIC_PARSE_INT, 2, 2)
71 ROUTINE (LIT_INTERNAL_MAGIC_STRING_ARRAY_PROTOTYPE_VALUES, ECMA_INTRINSIC_ARRAY_PROTOTYPE_VALUES, 0, 0)
72 #endif /* ENABLED (JERRY_ES2015) */
73 #include "ecma-builtin-helpers-macro-undefs.inc.h"
74