def _add_dict_chain(self, dict_chain, dict_dict):
if dict_dict.get('<STR_LIT:type>') == '<STR_LIT>':<EOL><INDENT>chain = []<EOL>for dict_item in dict_dict.get('<STR_LIT>'):<EOL><INDENT>self._add_dict_chain(chain, dict_item)<EOL><DEDENT>dict_chain.append(chain)<EOL><DEDENT>elif dict_dict.get('<STR_LIT:type>') == '<STR_LIT>':<EOL><INDENT>filename = dict_dict.get('<STR_LIT:file>')<EOL>dict_file = os.path.join(os.path.dirname(__file__), DICT_DIR, filename)<EOL>dict_chain.append(dict_file)<EOL><DEDENT>
add dict chain
:param dict_chain: the dict chain to add to
:param dict_dict: the dict to be added in
:return: None