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#ifndef SIMPLE_VALUE 17#define SIMPLE_VALUE(name, simple_value, prop_attributes) 18#endif /* !SIMPLE_VALUE */ 19 20#ifndef NUMBER_VALUE 21#define NUMBER_VALUE(name, number_value, prop_attributes) 22#endif /* !NUMBER_VALUE */ 23 24#ifndef STRING_VALUE 25#define STRING_VALUE(name, magic_string_id, prop_attributes) 26#endif /* !STRING_VALUE */ 27 28#if ENABLED (JERRY_ES2015) 29#ifndef SYMBOL_VALUE 30#define SYMBOL_VALUE(symbol, desc_magic_string_id) 31#endif /* !SYMBOL_VALUE */ 32 33#ifndef INTRINSIC_PROPERTY 34#define INTRINSIC_PROPERTY(name, magic_string_id, prop_attributes) 35#endif /* !INTRINSIC_PROPERTY */ 36 37#ifndef ACCESSOR_BUILTIN_FUNCTION_OBJECT 38#define ACCESSOR_BUILTIN_FUNCTION_OBJECT(name, getter_builtin_id, setter_builtin_id, prop_attributes) 39#endif /* !ACCESSOR_BUILTIN_FUNCTION_OBJECT */ 40#endif /* ENABLED (JERRY_ES2015) */ 41 42#ifndef OBJECT_VALUE 43#define OBJECT_VALUE(name, obj_builtin_id, prop_attributes) 44#endif /* !OBJECT_VALUE */ 45 46#ifndef ROUTINE 47#define ROUTINE(name, c_function_name, args_number, length_prop_value) 48#endif /* !ROUTINE */ 49 50#ifndef ROUTINE_CONFIGURABLE_ONLY 51#define ROUTINE_CONFIGURABLE_ONLY(name, c_function_name, args_number, length_prop_value) 52#endif /* !ROUTINE_CONFIGURABLE_ONLY */ 53 54#ifndef ROUTINE_WITH_FLAGS 55#define ROUTINE_WITH_FLAGS(name, c_function_name, args_number, length_prop_value, flags) 56#endif /* !ROUTINE_WITH_FLAGS */ 57 58#ifndef ACCESSOR_READ_WRITE 59#define ACCESSOR_READ_WRITE(name, c_getter_func_name, c_setter_func_name, prop_attributes) 60#endif /* !ACCESSOR_READ_WRITE */ 61 62#ifndef ACCESSOR_READ_ONLY 63#define ACCESSOR_READ_ONLY(name, c_getter_func_name, prop_attributes) 64#endif /* !ACCESSOR_READ_ONLY */ 65