• 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 #ifndef ECMA_OBJECTS_ARGUMENTS_H
17 #define ECMA_OBJECTS_ARGUMENTS_H
18 
19 #include "ecma-globals.h"
20 #include "ecma-helpers.h"
21 
22 void
23 ecma_op_create_arguments_object (ecma_object_t *func_obj_p, ecma_object_t *lex_env_p,
24                                  const ecma_value_t *arguments_list_p, ecma_length_t arguments_number,
25                                  const ecma_compiled_code_t *bytecode_data_p);
26 
27 ecma_value_t
28 ecma_op_arguments_object_delete (ecma_object_t *object_p, ecma_string_t *property_name_p, bool is_throw);
29 ecma_value_t
30 ecma_op_arguments_object_define_own_property (ecma_object_t *object_p, ecma_string_t *property_name_p,
31                                               const ecma_property_descriptor_t *property_desc_p);
32 
33 #endif /* !ECMA_OBJECTS_ARGUMENTS_H */
34