#NEWLINE# def _GetNextPartialIdentifierToken( start_token ) : #NEWLINE# #INDENT# 'Returns the first token having identifier as substring after a token.\n\n  Searches each token after the start to see if it contains an identifier.\n  If found, token is returned. If no identifier is found returns None.\n  Search is abandoned when a FLAG_ENDING_TYPE token is found.\n\n  Args:\n    start_token: The token to start searching after.\n\n  Returns:\n    The token found containing identifier, None otherwise.\n  ' #NEWLINE# token = start_token . next #NEWLINE# while ( token and ( match . type not in Type . FLAG_ENDING_TYPES ) ) : #NEWLINE# #INDENT# match = javascripttokenizer . JavaScriptTokenizer . IDENTIFIER . search ( token . string ) #NEWLINE# if ( ( match is not None ) and ( token . type == Type . COMMENT ) ) : #NEWLINE# #INDENT# return token #NEWLINE# #UNINDENT# token = token . next #NEWLINE# #UNINDENT# return None