<commit_before>﻿// Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
<<<<<<< HEAD
=======
using System.Reflection;
<<<<<<< HEAD
<<<<<<< HEAD
>>>>>>> Simplify
=======
using System.Runtime.InteropServices;
>>>>>>> Simplify
=======
>>>>>>> Simplify
using System.Text.RegularExpressions;
using Microsoft.CodeAnalysis.CSharp;

namespace CSharpSyntaxGenerator.Grammar
{
    internal static class GrammarGenerator
    {
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
        public static string Run(List<TreeType> types)
=======
        private readonly ImmutableDictionary<string, TreeType> _nameToElement;
=======
        private readonly ImmutableArray<TreeType> _nodes;
<<<<<<< HEAD
>>>>>>> Simplify
        private readonly Dictionary<string, List<Production>> _nameToProductions;
=======
>>>>>>> Simplify<commit_msg>Simplify<commit_after>﻿// Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
<<<<<<< HEAD
<<<<<<< HEAD
=======
using System.Reflection;
<<<<<<< HEAD
<<<<<<< HEAD
>>>>>>> Simplify
=======
using System.Runtime.InteropServices;
>>>>>>> Simplify
=======
>>>>>>> Simplify
=======
>>>>>>> Simplify
using System.Text.RegularExpressions;
using Microsoft.CodeAnalysis.CSharp;

namespace CSharpSyntaxGenerator.Grammar
{
    internal static class GrammarGenerator
    {
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
        public static string Run(List<TreeType> types)
=======
        private readonly ImmutableDictionary<string, TreeType> _nameToElement;
=======
        private readonly ImmutableArray<TreeType> _nodes;
<<<<<<< HEAD
>>>>>>> Simplify
        private readonly Dictionary<string, List<Production>> _nameToProductions;
=======
>>>>>>> Simplify
{'fraction_non_alphanumeric': 0.18913768461171987, 'fraction_numerical': 0.0019056693663649356, 'mean_word_length': 5.325301204819277, 'pattern_counts': {'":': 0, '<': 132, '<?xml version=': 0, '>': 90, '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': '5715845', 'n_tokens_mistral': 627, 'n_tokens_neox': 585, 'n_words': 155}