Fix style issues and improve vera++ rules.
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -435,7 +435,7 @@ ecma_op_to_object (ecma_value_t value) /**< ecma value */
|
||||
*
|
||||
* @return constructed object
|
||||
*/
|
||||
ecma_object_t*
|
||||
ecma_object_t *
|
||||
ecma_op_from_property_descriptor (const ecma_property_descriptor_t *src_prop_desc_p) /**< property descriptor */
|
||||
{
|
||||
// 2.
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* @return pointer to ecma-object representing specified error
|
||||
* with reference counter set to one.
|
||||
*/
|
||||
ecma_object_t*
|
||||
ecma_object_t *
|
||||
ecma_new_standard_error (ecma_standard_error_t error_type) /**< native error type */
|
||||
{
|
||||
#ifndef CONFIG_ECMA_COMPACT_PROFILE_DISABLE_ERROR_BUILTINS
|
||||
@@ -112,7 +112,7 @@ ecma_new_standard_error (ecma_standard_error_t error_type) /**< native error typ
|
||||
* @return pointer to ecma-object representing specified error
|
||||
* with reference counter set to one.
|
||||
*/
|
||||
ecma_object_t*
|
||||
ecma_object_t *
|
||||
ecma_new_standard_error_with_message (ecma_standard_error_t error_type, /**< native error type */
|
||||
ecma_string_t *message_string_p) /**< message string */
|
||||
{
|
||||
|
||||
@@ -133,7 +133,7 @@ ecma_function_bind_merge_arg_lists (ecma_value_t *merged_args_list_p, /**< desti
|
||||
*
|
||||
* @return pointer to newly created Function object
|
||||
*/
|
||||
ecma_object_t*
|
||||
ecma_object_t *
|
||||
ecma_op_create_function_object (ecma_object_t *scope_p, /**< function's scope */
|
||||
bool is_decl_in_strict_mode, /**< is function declared in strict mode code? */
|
||||
const ecma_compiled_code_t *bytecode_data_p) /**< byte-code array */
|
||||
@@ -377,7 +377,7 @@ ecma_op_function_try_lazy_instantiate_property (ecma_object_t *obj_p, /**< the f
|
||||
* current invocation,
|
||||
* NULL (i.e. ecma-undefined) - otherwise.
|
||||
*/
|
||||
ecma_property_t*
|
||||
ecma_property_t *
|
||||
ecma_op_function_object_get_own_property (ecma_object_t *obj_p, /**< the function object */
|
||||
ecma_string_t *property_name_p) /**< property name */
|
||||
{
|
||||
@@ -413,7 +413,7 @@ ecma_op_function_object_get_own_property (ecma_object_t *obj_p, /**< the functio
|
||||
*
|
||||
* @return pointer to newly created external function object
|
||||
*/
|
||||
ecma_object_t*
|
||||
ecma_object_t *
|
||||
ecma_op_create_external_function_object (ecma_external_pointer_t code_p) /**< pointer to external native handler */
|
||||
{
|
||||
ecma_object_t *prototype_obj_p = ecma_builtin_get (ECMA_BUILTIN_ID_FUNCTION_PROTOTYPE);
|
||||
|
||||
@@ -76,7 +76,7 @@ ecma_finalize_environment (void)
|
||||
*
|
||||
* @return pointer to the object's instance
|
||||
*/
|
||||
ecma_object_t*
|
||||
ecma_object_t *
|
||||
ecma_get_global_environment (void)
|
||||
{
|
||||
ecma_ref_object (ecma_global_lex_env_p);
|
||||
|
||||
@@ -347,7 +347,7 @@ ecma_op_arguments_object_get (ecma_object_t *obj_p, /**< the object */
|
||||
* @return ecma value
|
||||
* Returned value must be freed with ecma_free_value
|
||||
*/
|
||||
ecma_property_t*
|
||||
ecma_property_t *
|
||||
ecma_op_arguments_object_get_own_property (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_string_t *property_name_p) /**< property name */
|
||||
{
|
||||
|
||||
@@ -57,7 +57,7 @@ ecma_reject (bool is_throw) /**< Throw flag */
|
||||
*
|
||||
* @return pointer to newly created 'Object' object
|
||||
*/
|
||||
ecma_object_t*
|
||||
ecma_object_t *
|
||||
ecma_op_create_object_object_noarg (void)
|
||||
{
|
||||
ecma_object_t *object_prototype_p = ecma_builtin_get (ECMA_BUILTIN_ID_OBJECT_PROTOTYPE);
|
||||
@@ -110,7 +110,7 @@ ecma_op_create_object_object_arg (ecma_value_t value) /**< argument of construct
|
||||
*
|
||||
* @return pointer to newly created object
|
||||
*/
|
||||
ecma_object_t*
|
||||
ecma_object_t *
|
||||
ecma_op_create_object_object_noarg_and_set_prototype (ecma_object_t *object_prototype_p) /**< pointer to prototype of
|
||||
the object
|
||||
(can be NULL) */
|
||||
@@ -192,7 +192,7 @@ ecma_op_general_object_get (ecma_object_t *obj_p, /**< the object */
|
||||
* @return pointer to a property - if it exists,
|
||||
* NULL (i.e. ecma-undefined) - otherwise.
|
||||
*/
|
||||
ecma_property_t*
|
||||
ecma_property_t *
|
||||
ecma_op_general_object_get_own_property (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_string_t *property_name_p) /**< property name */
|
||||
{
|
||||
@@ -213,7 +213,7 @@ ecma_op_general_object_get_own_property (ecma_object_t *obj_p, /**< the object *
|
||||
* @return pointer to a property - if it exists,
|
||||
* NULL (i.e. ecma-undefined) - otherwise.
|
||||
*/
|
||||
ecma_property_t*
|
||||
ecma_property_t *
|
||||
ecma_op_general_object_get_property (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_string_t *property_name_p) /**< property name */
|
||||
{
|
||||
|
||||
@@ -97,7 +97,7 @@ ecma_op_object_get (ecma_object_t *obj_p, /**< the object */
|
||||
* @return pointer to a property - if it exists,
|
||||
* NULL (i.e. ecma-undefined) - otherwise.
|
||||
*/
|
||||
static __attr_noinline___ ecma_property_t*
|
||||
static ecma_property_t * __attr_noinline___
|
||||
ecma_op_object_get_own_property_longpath (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_string_t *property_name_p) /**< property name */
|
||||
{
|
||||
@@ -163,7 +163,7 @@ ecma_op_object_get_own_property_longpath (ecma_object_t *obj_p, /**< the object
|
||||
* @return pointer to a property - if it exists,
|
||||
* NULL (i.e. ecma-undefined) - otherwise.
|
||||
*/
|
||||
ecma_property_t*
|
||||
ecma_property_t *
|
||||
ecma_op_object_get_own_property (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_string_t *property_name_p) /**< property name */
|
||||
{
|
||||
@@ -192,7 +192,7 @@ ecma_op_object_get_own_property (ecma_object_t *obj_p, /**< the object */
|
||||
* @return pointer to a property - if it exists,
|
||||
* NULL (i.e. ecma-undefined) - otherwise.
|
||||
*/
|
||||
ecma_property_t*
|
||||
ecma_property_t *
|
||||
ecma_op_object_get_property (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_string_t *property_name_p) /**< property name */
|
||||
{
|
||||
@@ -204,7 +204,7 @@ ecma_op_object_get_property (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_assert_object_type_is_valid (type);
|
||||
|
||||
/*
|
||||
* typedef ecma_property_t* (*get_property_ptr_t) (ecma_object_t *, ecma_string_t *);
|
||||
* typedef ecma_property_t * (*get_property_ptr_t) (ecma_object_t *, ecma_string_t *);
|
||||
* static const get_property_ptr_t get_property [ECMA_OBJECT_TYPE__COUNT] =
|
||||
* {
|
||||
* [ECMA_OBJECT_TYPE_GENERAL] = &ecma_op_general_object_get_property,
|
||||
@@ -246,7 +246,7 @@ ecma_op_object_put (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_assert_object_type_is_valid (type);
|
||||
|
||||
/*
|
||||
* typedef ecma_property_t* (*put_ptr_t) (ecma_object_t *, ecma_string_t *);
|
||||
* typedef ecma_property_t * (*put_ptr_t) (ecma_object_t *, ecma_string_t *);
|
||||
* static const put_ptr_t put [ECMA_OBJECT_TYPE__COUNT] =
|
||||
* {
|
||||
* [ECMA_OBJECT_TYPE_GENERAL] = &ecma_op_general_object_put,
|
||||
@@ -286,7 +286,7 @@ ecma_op_object_can_put (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_assert_object_type_is_valid (type);
|
||||
|
||||
/*
|
||||
* typedef ecma_property_t* (*can_put_ptr_t) (ecma_object_t *, ecma_string_t *);
|
||||
* typedef ecma_property_t * (*can_put_ptr_t) (ecma_object_t *, ecma_string_t *);
|
||||
* static const can_put_ptr_t can_put [ECMA_OBJECT_TYPE__COUNT] =
|
||||
* {
|
||||
* [ECMA_OBJECT_TYPE_GENERAL] = &ecma_op_general_object_can_put,
|
||||
@@ -374,7 +374,7 @@ ecma_op_object_default_value (ecma_object_t *obj_p, /**< the object */
|
||||
ecma_assert_object_type_is_valid (type);
|
||||
|
||||
/*
|
||||
* typedef ecma_property_t* (*default_value_ptr_t) (ecma_object_t *, ecma_string_t *);
|
||||
* typedef ecma_property_t * (*default_value_ptr_t) (ecma_object_t *, ecma_string_t *);
|
||||
* static const default_value_ptr_t default_value [ECMA_OBJECT_TYPE__COUNT] =
|
||||
* {
|
||||
* [ECMA_OBJECT_TYPE_GENERAL] = &ecma_op_general_object_default_value,
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
* pointer to lexical environment - reference's base,
|
||||
* else - NULL.
|
||||
*/
|
||||
ecma_object_t*
|
||||
ecma_object_t *
|
||||
ecma_op_resolve_reference_base (ecma_object_t *lex_env_p, /**< starting lexical environment */
|
||||
ecma_string_t *name_p) /**< identifier's name */
|
||||
{
|
||||
|
||||
@@ -119,7 +119,7 @@ ecma_op_create_string_object (const ecma_value_t *arguments_list_p, /**< list of
|
||||
* @return ecma value
|
||||
* Returned value must be freed with ecma_free_value
|
||||
*/
|
||||
ecma_property_t*
|
||||
ecma_property_t *
|
||||
ecma_op_string_object_get_own_property (ecma_object_t *obj_p, /**< a String object */
|
||||
ecma_string_t *property_name_p) /**< property name */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user