python/dpu_utils/codeutils/lattice/lattice.py [117:122]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        token_counter = Counter(tokens)
        for token, count in list(token_counter.items()):
            if token.startswith('type:'):
                type_name = token[len('type:'):]
                for t in lattice.parents(type_name):
                    token_counter['type:' + t] += count
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



python/dpu_utils/codeutils/lattice/lattice.py [139:144]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            token_counter = Counter(tokens)
        for token, count in list(token_counter.items()):
            if token.startswith('type:'):
                type_name = token[len('type:'):]
                for t in lattice.parents(type_name):
                    token_counter['type:' + t] += count
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



