<commit_before>module.exports = (function(){
	"use strict"

	var util = require('util');
	var ASTUtil = require('./ast-util');
	var o2s = require('./main');
	var parser = require('./parser');

	var TypeInfo = require('./type-info');
	var DeclInfo = require('./decl-info');

	var defaultOptions = {
		tabSize:4,
		inlineDump:false,
		forceUnwrap:true,
	};

	var OBJC_TO_SWIFT_LITERAL_MAP = { 
		"NULL":"nil", "YES":"true", "NO":"false", "MAX":"max", "MIN":"min" 
	};

	var OBJC_TO_SWIFT_TYPE_MAP = {
		"float":"Float", "double":"Double",
		"NSString":"String",
		"BOOL":"Bool", "Class":"AnyClass", 
		"void":"Void", 
		"char":"Int8", "unsigned char":"Uint8", "signed char":"Int8",
		"int":"Int", "unsigned int":"Uint", "signed int":"Int", 
		"short":"Int16", "unsigned short":"Uint16", "signed short":"Int16",
		"short int":"Int16", "unsigned short int":"Uint16", "signed short int":"Int16",
		"long":"Int32", "unsigned long":"Uint32", "signed long":"Int32",
		"long int":"Int32", "unsigned long int":"Uint32", "signed long int":"Int32",
		"long long":"Int64", "unsigned long long":"Uint64", "signed long long":"Int64", 
		"long long int":"Int64", "unsigned long long int":"Uint64", "signed long long int":"Int64", 
		"NSInteger":"Int", "NSUInteger":"UInt",
		"id":"AnyObject", "NSArray":"[AnyObject]",'instancetype':"Self",		
	};

  	var _trim = function(s) { 
  		return s?s.replace(/^ *| *$/g,''):s; 
  	};

	var _SPACER = '        ';
	var _makeIndentString = function(size) {
		if(_SPACER.length<size) {
			return _SPACER+_makeIndentString(size-_SPACER.length);            
		}    
		return _SPACER.slice(0,size);
	};

  	var smartLineBreak = function(text) {
  		return text.replace(/\s+$/,'') + '\n';
  	};

	var Generator = function(analyzer,options) {
		this.analyzer = analyzer;
		this.options = {};
		for(var key in defaultOptions) {
			var value = options[key];
			this.options[key] = (value!=null)?value:defaultOptions[key];
		}
		this.options.indent = _makeIndentString(this.options.tabSize);
	};
<commit_msg>Uint -> UInt<commit_after>module.exports = (function(){
	"use strict"

	var util = require('util');
	var ASTUtil = require('./ast-util');
	var o2s = require('./main');
	var parser = require('./parser');

	var TypeInfo = require('./type-info');
	var DeclInfo = require('./decl-info');

	var defaultOptions = {
		tabSize:4,
		inlineDump:false,
		forceUnwrap:true,
	};

	var OBJC_TO_SWIFT_LITERAL_MAP = { 
		"NULL":"nil", "YES":"true", "NO":"false", "MAX":"max", "MIN":"min" 
	};

	var OBJC_TO_SWIFT_TYPE_MAP = {
		"float":"Float", "double":"Double",
		"NSString":"String",
		"BOOL":"Bool", "Class":"AnyClass", 
		"void":"Void", 
		"char":"Int8", "unsigned char":"UInt8", "signed char":"Int8",
		"int":"Int", "unsigned int":"UInt", "signed int":"Int", 
		"short":"Int16", "unsigned short":"UInt16", "signed short":"Int16",
		"short int":"Int16", "unsigned short int":"UInt16", "signed short int":"Int16",
		"long":"Int32", "unsigned long":"UInt32", "signed long":"Int32",
		"long int":"Int32", "unsigned long int":"UInt32", "signed long int":"Int32",
		"long long":"Int64", "unsigned long long":"UInt64", "signed long long":"Int64", 
		"long long int":"Int64", "unsigned long long int":"UInt64", "signed long long int":"Int64", 
		"NSInteger":"Int", "NSUInteger":"UInt",
		"id":"AnyObject", "NSArray":"[AnyObject]",'instancetype':"Self",		
	};

  	var _trim = function(s) { 
  		return s?s.replace(/^ *| *$/g,''):s; 
  	};

	var _SPACER = '        ';
	var _makeIndentString = function(size) {
		if(_SPACER.length<size) {
			return _SPACER+_makeIndentString(size-_SPACER.length);            
		}    
		return _SPACER.slice(0,size);
	};

  	var smartLineBreak = function(text) {
  		return text.replace(/\s+$/,'') + '\n';
  	};

	var Generator = function(analyzer,options) {
		this.analyzer = analyzer;
		this.options = {};
		for(var key in defaultOptions) {
			var value = options[key];
			this.options[key] = (value!=null)?value:defaultOptions[key];
		}
		this.options.indent = _makeIndentString(this.options.tabSize);
	};

{'fraction_non_alphanumeric': 0.21529324424647364, 'fraction_numerical': 0.020786933927245732, 'mean_word_length': 4.613888888888889, 'pattern_counts': {'":': 78, '<': 5, '<?xml version=': 0, '>': 4, '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': '2832673', 'n_tokens_mistral': 1578, 'n_tokens_neox': 1421, 'n_words': 281}