def obfuscatable_function(tokens, index, **kwargs):
tok = tokens[index]<EOL>token_type = tok[<NUM_LIT:0>]<EOL>token_string = tok[<NUM_LIT:1>]<EOL>if index > <NUM_LIT:0>:<EOL><INDENT>prev_tok = tokens[index-<NUM_LIT:1>]<EOL><DEDENT>else: <EOL><INDENT>prev_tok = (<NUM_LIT>, '<STR_LIT:\n>', (<NUM_LIT:1>, <NUM_LIT:1>), (<NUM_LIT:1>, <NUM_LIT:2>), '<STR_LIT>')<EOL><DEDENT>prev_tok_string = prev_tok[<NUM_LIT:1>]<EOL>if token_type != tokenize.NAME:<EOL><INDENT>return None <EOL><DEDENT>if token_string.startswith('<STR_LIT>'): <EOL><INDENT>return None<EOL><DEDENT>if prev_tok_string == "<STR_LIT>":<EOL><INDENT>return token_string<EOL><DEDENT>
Given a list of *tokens* and an *index* (representing the current position),
returns the token string if it is a function or method name that can be
safely obfuscated.