parameters: (self)
return_statement: return ArgumentsIterator(self)
docstring: Retrieve a container for the non-variadic arguments for this type.
  
          The returned object is iterable and indexable. Each item in the
          container is a Type instance.
docstring_summary: Retrieve a container for the non-variadic arguments for this type.
docstring_tokens: Retrieve a container for the non - variadic arguments for this type .
function: def argument_types(self):
          """Retrieve a container for the non-variadic arguments for this type.
  
          The returned object is iterable and indexable. Each item in the
          container is a Type instance.
          """
          class ArgumentsIterator(collections.Sequence):
              def __init__(self, parent):
                  self.parent = parent
                  self.length = None
  
              def __len__(self):
                  if self.length is None:
                      self.length = conf.lib.clang_getNumArgTypes(self.parent)
  
                  return self.length
  
              def __getitem__(self, key):
                  # FIXME Support slice objects.
                  if not isinstance(key, int):
                      raise TypeError("Must supply a non-negative int.")
  
                  if key < 0:
                      raise IndexError("Only non-negative indexes are accepted.")
  
                  if key >= len(self):
                      raise IndexError("Index greater than container length: "
                                       "%d > %d" % ( key, len(self) ))
  
                  result = conf.lib.clang_getArgType(self.parent, key)
                  if result.kind == TypeKind.INVALID:
                      raise IndexError("Argument could not be retrieved.")
  
                  return result
  
          assert self.kind == TypeKind.FUNCTIONPROTO
          return ArgumentsIterator(self)
function_tokens: def argument_types ( self ) : class ArgumentsIterator ( collections . Sequence ) : def __init__ ( self , parent ) : self . parent = parent self . length = None def __len__ ( self ) : if self . length is None : self . length = conf . lib . clang_getNumArgTypes ( self . parent ) return self . length def __getitem__ ( self , key ) : # FIXME Support slice objects. if not isinstance ( key , int ) : raise TypeError ( "Must supply a non-negative int." ) if key < 0 : raise IndexError ( "Only non-negative indexes are accepted." ) if key >= len ( self ) : raise IndexError ( "Index greater than container length: " "%d > %d" % ( key , len ( self ) ) ) result = conf . lib . clang_getArgType ( self . parent , key ) if result . kind == TypeKind . INVALID : raise IndexError ( "Argument could not be retrieved." ) return result assert self . kind == TypeKind . FUNCTIONPROTO return ArgumentsIterator ( self )