Would it possible to do more decoupling on the Token class and TokensTree class.
I would like to move some typedef like:
typedef SearchTree<TokenIdxSet> TokenSearchTree;
typedef BasicSearchTree TokenFilenamesMap;
typedef std::map< size_t, TokenIdxSet, std::less<size_t> > TokenFilesMap;
typedef std::map< size_t, FileParsingStatus, std::less<size_t> > TokenFilesStatus;
from token.h to tokenstree.h.
But I can't move this one:
typedef std::set< size_t, std::less<size_t> > TokenFilesSet;
Because Token class use this kind of declaration.
Any ideas?