parameters: (token)
docstring: Deletes the given token from the linked list.
  
    Args:
      token: The token to delete
docstring_summary: Deletes the given token from the linked list.
docstring_tokens: Deletes the given token from the linked list .
function: def DeleteToken(token):
    """Deletes the given token from the linked list.
  
    Args:
      token: The token to delete
    """
    if token.previous:
      token.previous.next = token.next
  
    if token.next:
      token.next.previous = token.previous
  
      following_token = token.next
      while following_token and following_token.metadata.last_code == token:
        following_token.metadata.last_code = token.metadata.last_code
        following_token = following_token.next
function_tokens: def DeleteToken ( token ) : if token . previous : token . previous . next = token . next if token . next : token . next . previous = token . previous following_token = token . next while following_token and following_token . metadata . last_code == token : following_token . metadata . last_code = token . metadata . last_code following_token = following_token . next