parameters: (self)
return_statement: return [ArrayMethod(n) for n in names]
docstring: This method generates all `ArrayMethod` for one pr.Array.
          It returns e.g. for a list: append, pop, ...
docstring_summary: This method generates all `ArrayMethod` for one pr.Array.
          It returns e.g. for a list: append, pop, ...
docstring_tokens: This method generates all ArrayMethod for one pr . Array . It returns e . g . for a list : append pop ...
function: def get_defined_names(self):
          """
          This method generates all `ArrayMethod` for one pr.Array.
          It returns e.g. for a list: append, pop, ...
          """
          # `array.type` is a string with the type, e.g. 'list'.
          scope = evaluate.find_name(builtin.Builtin.scope, self._array.type)[0]
          scope = Instance(scope)
          names = scope.get_defined_names()
          return [ArrayMethod(n) for n in names]
function_tokens: def get_defined_names ( self ) : # `array.type` is a string with the type, e.g. 'list'. scope = evaluate . find_name ( builtin . Builtin . scope , self . _array . type ) [ 0 ] scope = Instance ( scope ) names = scope . get_defined_names ( ) return [ ArrayMethod ( n ) for n in names ]