parameters: (start_token)
return_statement: return ret_token
docstring: Get the last non-whitespace token in a token stream.
docstring_summary: Get the last non-whitespace token in a token stream.
docstring_tokens: Get the last non - whitespace token in a token stream .
function: def _GetLastNonWhiteSpaceToken(start_token):
    """Get the last non-whitespace token in a token stream."""
    ret_token = None
  
    whitespace_tokens = frozenset([
        tokens.TokenType.WHITESPACE, tokens.TokenType.BLANK_LINE])
    for t in start_token:
      if t.type not in whitespace_tokens:
        ret_token = t
  
    return ret_token
function_tokens: def _GetLastNonWhiteSpaceToken ( start_token ) : ret_token = None whitespace_tokens = frozenset ( [ tokens . TokenType . WHITESPACE , tokens . TokenType . BLANK_LINE ] ) for t in start_token : if t . type not in whitespace_tokens : ret_token = t return ret_token