parameters: (self, jsfile, l)
return_statement: return -1
docstring: Arguments:
          - `self`:
          - `jsfile`:
          - `l`:
docstring_summary: Arguments:
          - `self`:
          - `jsfile`:
          - `l`:
docstring_tokens: Arguments : - self : - jsfile : - l :
function: def index_in_list(self, jsfile, l):
          """
          Arguments:
          - `self`:
          - `jsfile`:
          - `l`:
          """
          index = -1
  
          for el in l:
              if jsfile.rfind(el) != -1:
                  # print "index:"+str(index+1)+", el:"+el
                  return index+1
              index = index + 1
          return -1
function_tokens: def index_in_list ( self , jsfile , l ) : index = - 1 for el in l : if jsfile . rfind ( el ) != - 1 : # print "index:"+str(index+1)+", el:"+el return index + 1 index = index + 1 return - 1