parameters: (self, name, typed)
return_statement: return i == len(name)
docstring: :type name: str
          :type typed: str
          :rtype: bool
docstring_summary: :type name: str
          :type typed: str
          :rtype: bool
docstring_tokens: : type name : str : type typed : str : rtype : bool
function: def isLongPressedName(self, name, typed):
          """
          :type name: str
          :type typed: str
          :rtype: bool
          """
          i = 0
          for j in xrange(len(typed)):
              if i < len(name) and name[i] == typed[j]:
                  i += 1
              elif j == 0 or typed[j] != typed[j-1]:
                  return False
          return i == len(name)
function_tokens: def isLongPressedName ( self , name , typed ) : i = 0 for j in xrange ( len ( typed ) ) : if i < len ( name ) and name [ i ] == typed [ j ] : i += 1 elif j == 0 or typed [ j ] != typed [ j - 1 ] : return False return i == len ( name )