<commit_before>cdef class BasicVisitor:
    cdef dict dispatch_table
    cpdef visit(self, obj)

cdef class TreeVisitor(BasicVisitor):
    cdef public list access_path
    cpdef visitchild(self, child, parent, attrname, idx)
    cpdef visitchildren(self, parent, attrs=*)

cdef class VisitorTransform(TreeVisitor):<commit_msg>revert typing in Visitor.pxd because of obscure type test problem<commit_after>cdef class BasicVisitor:
    cdef dict dispatch_table
    cpdef visit(self, obj)

cdef class TreeVisitor(BasicVisitor):
    cdef public list access_path
    cpdef visitchild(self, child, parent, attrname, idx)
#    cpdef visitchildren(self, parent, attrs=*)

cdef class VisitorTransform(TreeVisitor):
{'fraction_non_alphanumeric': 0.07375886524822695, 'fraction_numerical': 0.0, 'mean_word_length': 5.36036036036036, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5187123', 'n_tokens_mistral': 215, 'n_tokens_neox': 215, 'n_words': 66}