parameters: (caps)
return_statement: return '\n'.join(arrays)
docstring: Returns the arrays of capabilities.
  
      Arguments:
        - caps: a sequence of sequence of capability names
docstring_summary: Returns the arrays of capabilities.
docstring_tokens: Returns the arrays of capabilities .
function: def generate_capability_arrays(caps):
      """Returns the arrays of capabilities.
  
      Arguments:
        - caps: a sequence of sequence of capability names
      """
      caps = sorted(set([tuple(c) for c in caps if c]))
      arrays = [
          'static const SpvCapability {}[] = {};'.format(
              get_capability_array_name(c), compose_capability_list(c))
          for c in caps]
      return '\n'.join(arrays)
function_tokens: def generate_capability_arrays ( caps ) : caps = sorted ( set ( [ tuple ( c ) for c in caps if c ] ) ) arrays = [ 'static const SpvCapability {}[] = {};' . format ( get_capability_array_name ( c ) , compose_capability_list ( c ) ) for c in caps ] return '\n' . join ( arrays )