tools/cwrap/plugins/__init__.py
def process_all_checks(self, code, option):
        """Used to generate additional checks based on all the individual ones.

        After individually processing each argument with get_type_check,
        get_arg_accessor, process_single_check, this function allows you to
        inspect the combined checks and do any additional checking/modify that
        string as you see fit. In particular, given code is a string like:

        CHECK_TYPE(GET_ARG(0)) && CHECK_TYPE(GET_ARG(1)) && ..

        We can process it as we see fit. For example, we may want to add a
        check at the beginning that we have the specified number of arguments.

        Args:
            code: A string representing each argument check separated by an
            '&&'. code can be None if there are no arguments to be checked.
            option: dictionary containing the information for this specific
            option.

        Returns:
            The modified code string with any additional checks, or just the
            existing code if no modifications are to be made.

        """
        return code
Used to generate additional checks based on all the individual ones.

        After individually processing each argument with get_type_check,
        get_arg_accessor, process_single_check, this function allows you to
        inspect the combined checks and do any additional checking/modify that
        string as you see fit. In particular, given code is a string like:

        CHECK_TYPE(GET_ARG(0)) && CHECK_TYPE(GET_ARG(1)) && ..

        We can process it as we see fit. For example, we may want to add a
        check at the beginning that we have the specified number of arguments.

        Args:
            code: A string representing each argument check separated by an
            '&&'. code can be None if there are no arguments to be checked.
            option: dictionary containing the information for this specific
            option.

        Returns:
            The modified code string with any additional checks, or just the
            existing code if no modifications are to be made.

        
Used to generate additional checks based on all the individual ones.
After individually processing each argument with get_type_check,
get_arg_accessor, process_single_check, this function allows you to
inspect the combined checks and do any additional checking/modify that
string as you see fit. In particular, given code is a string like.



We can process it as we see fit. For example, we may want to add a
check at the beginning that we have the specified number of arguments.

A string representing each argument check separated by an
'&&'. code can be None if there are no arguments to be checked.
option: dictionary containing the information for this specific
option.

The modified code string with any additional checks, or just the
existing code if no modifications are to be made.
Used to generate additional checks based on all the individual ones . After individually processing each argument with get_type_check get_arg_accessor process_single_check this function allows you to inspect the combined checks and do any additional checking / modify that string as you see fit . In particular given code is a string like . We can process it as we see fit . For example we may want to add a check at the beginning that we have the specified number of arguments . A string representing each argument check separated by an ' && ' . code can be None if there are no arguments to be checked . option : dictionary containing the information for this specific option . The modified code string with any additional checks or just the existing code if no modifications are to be made .
def process_all_checks(self, code, option):
        return code
def process_all_checks ( self , code , option ) : return code
Used to generate additional checks based on all the individual ones.
Used to generate additional checks based on all the individual ones .
"""Used to generate additional checks based on all the individual ones.

        After individually processing each argument with get_type_check,
        get_arg_accessor, process_single_check, this function allows you to
        inspect the combined checks and do any additional checking/modify that
        string as you see fit. In particular, given code is a string like:

        CHECK_TYPE(GET_ARG(0)) && CHECK_TYPE(GET_ARG(1)) && ..

        We can process it as we see fit. For example, we may want to add a
        check at the beginning that we have the specified number of arguments.

        Args:
            code: A string representing each argument check separated by an
            '&&'. code can be None if there are no arguments to be checked.
            option: dictionary containing the information for this specific
            option.

        Returns:
            The modified code string with any additional checks, or just the
            existing code if no modifications are to be made.

        """
self
code
option