def parse_line(self, statement, element, mode):
        """Parses the contents of the specified line and adds its representation
        to the specified element (if applicable).

        :arg statement: the lines of code that was added/removed/changed on the 
          element after it had alread been parsed. The lines together form a single
          continuous code statement.
        :arg element: the Subroutine or Function instance to update.
        :arg mode: 'insert', or 'delete'.
        """
        if element.incomplete:
            #We need to check for the end_token so we can close up the incomplete
            #status for the instance.
            if element.end_token in statement:
                element.incomplete = False
                return

        #The line can either be related to an assignment or a dependency since
        #those are the only relevant contents that aren't local variable definitions
        #However if it is a local var definition, we need to process it with any
        #doctags etc that it used. NOTE: doctags are parsed separately by the line
        #parser at a higher level because of the XML.
        self._process_assignments(element, statement, mode)
        self._process_dependencies(element, statement, mode)
        self._parse_members(statement, element, element.paramorder, mode)