<commit_before>import itertools
import collections

Location = collections.namedtuple('Location', 'start, end, filename, first_line')


class StructMixIn:

    closed      = False
    indented    = False
    traversable = False

  ### TOKEN AUTOLOCATION

    def in_between(self, left, right):

        self.location = Location(
            left.location.start,
            right.location.end,
            right.location.filename,
            left.location.first_line
        )
        return self

    def before(self, other):

        self.location = Location(
            other.location.start,
            other.location.start,
            other.location.filename,
            other.location.first_line
        )
        return self

    def after(self, other):
<commit_msg>Set `infix` to False on all parser output structs.<commit_after>import itertools
import collections

Location = collections.namedtuple('Location', 'start, end, filename, first_line')


class StructMixIn:

    infix       = False
    closed      = False
    indented    = False
    traversable = False

  ### TOKEN AUTOLOCATION

    def in_between(self, left, right):

        self.location = Location(
            left.location.start,
            right.location.end,
            right.location.filename,
            left.location.first_line
        )
        return self

    def before(self, other):

        self.location = Location(
            other.location.start,
            other.location.start,
            other.location.filename,
            other.location.first_line
        )
        return self

    def after(self, other):

{'fraction_non_alphanumeric': 0.08297213622291022, 'fraction_numerical': 0.0, 'mean_word_length': 1.9542961608775138, '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': '2041073', 'n_tokens_mistral': 436, 'n_tokens_neox': 421, 'n_words': 102}