<commit_before><commit_msg>missing file<commit_after>using System;
using Boo.Lang.Compiler.Ast;

namespace Boo.Lang.Compiler.Steps
{
	/// <summary>
	/// Summary description for PreProcessExtensionMethods.
	/// </summary>
	public class PreProcessExtensionMethods : AbstractTransformerCompilerStep
	{
		public PreProcessExtensionMethods()
		{
		}

		public override void Run()
		{
			Visit(CompileUnit);
		}

		public override void OnConstructor(Constructor node)
		{
		}

		public override void OnDestructor(Destructor node)
		{
		}

		public override void OnProperty(Property node)
		{	
		}

		public override void OnField(Field node)
		{	
		}

		public override void OnMethod(Boo.Lang.Compiler.Ast.Method node)
		{
			if (MethodImplementationFlags.Extension != (node.ImplementationFlags & MethodImplementationFlags.Extension)) return;

			Visit(node.Body);
		}

		public override void OnSelfLiteralExpression(SelfLiteralExpression node)
		{
			ReplaceCurrentNode(new ReferenceExpression(node.LexicalInfo, "self"));
		}
	}
}
{'fraction_non_alphanumeric': 0.0947265625, 'fraction_numerical': 0.0, 'mean_word_length': 4.338541666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2139492', 'n_tokens_mistral': 345, 'n_tokens_neox': 298, 'n_words': 63}