# flake8: noqa
# TODO: implement this file
from copy import copy

indexdict = {}

def makeindexdict(stree):
   if hasindex and catorword:
       indexdict[index] = stree

   for i , node in indexdict.items():
        pass # TODO

