tools/gdb/util/class_methods.py
def member_function(return_type, name, arguments):
  """Decorate a member function.

  See Class decorator for example usage within a class.

  Args:
    return_type: The return type of the function (e.g. 'int')
    name: The function name (e.g. 'sum')
    arguments: The argument types for this function (e.g. ['int', 'int'])

    Each type can be a string (e.g. 'int', 'std::string', 'T*') or a
    function which constructs the return type. See CreateTypeResolver
    for details about type resolution.
  """
  def DefineMember(fn):
    return MemberFunction(return_type, name, arguments, fn)
  return DefineMember
Decorate a member function.

  See Class decorator for example usage within a class.

  Args:
    return_type: The return type of the function (e.g. 'int')
    name: The function name (e.g. 'sum')
    arguments: The argument types for this function (e.g. ['int', 'int'])

    Each type can be a string (e.g. 'int', 'std::string', 'T*') or a
    function which constructs the return type. See CreateTypeResolver
    for details about type resolution.
  
Decorate a member function.
See Class decorator for example usage within a class.

The return type of the function
name: The function name
arguments: The argument types for this function

Each type can be a string  or a
function which constructs the return type. See CreateTypeResolver
for details about type resolution.
Decorate a member function . See Class decorator for example usage within a class . The return type of the function name : The function name arguments : The argument types for this function Each type can be a string or a function which constructs the return type . See CreateTypeResolver for details about type resolution .
def member_function(return_type, name, arguments):
  def DefineMember(fn):
    return MemberFunction(return_type, name, arguments, fn)
  return DefineMember
def member_function ( return_type , name , arguments ) : def DefineMember ( fn ) : return MemberFunction ( return_type , name , arguments , fn ) return DefineMember
Decorate a member function.
Decorate a member function .
"""Decorate a member function.

  See Class decorator for example usage within a class.

  Args:
    return_type: The return type of the function (e.g. 'int')
    name: The function name (e.g. 'sum')
    arguments: The argument types for this function (e.g. ['int', 'int'])

    Each type can be a string (e.g. 'int', 'std::string', 'T*') or a
    function which constructs the return type. See CreateTypeResolver
    for details about type resolution.
  """
return_type
name
arguments