def map_function(func_str, fw_action_addtion=None,bw_action_addtion=None, alias_func=None):
split_action_value = re.compile("<STR_LIT>")<EOL>matched   = split_action_value.match(func_str)    <EOL>if matched:<EOL><INDENT>action = matched.group(<NUM_LIT:1>).lower()<EOL>value = matched.group(<NUM_LIT:2>)<EOL>if alias_func:<EOL><INDENT>action = alias_func<EOL><DEDENT>if fw_action_addtion:<EOL><INDENT>action = fw_action_addtion + action        <EOL><DEDENT>if fw_action_addtion:<EOL><INDENT>action = action + bw_action_addtion<EOL><DEDENT>if value:<EOL><INDENT>return action+value<EOL><DEDENT>else:<EOL><INDENT>return action<EOL><DEDENT><DEDENT>
Sample usage:
        print map_function('set',alias_func = "ini_items");# -> ini_items
        print map_function('set',fw_action_addtion="action_steps_",bw_action_addtion="_for_upd",alias_func = "ini_items"); # -> action_steps_ini_items_for_upd
        print map_function('set(a=1,b=2,c=Test())',"action_steps_","_for_upd","ini_items");# -> action_steps_ini_items_for_upd(a=1,b=2,c=Test())
        print map_function('set("login",a="good",b=Test())',"action_steps_","_for_upd");# -> action_steps_set_for_upd("login",a="good",b=Test())