Put the actual parsing logic at the top of createSourceFile instead of the bottom.
Put the actual parsing logic at the top of createSourceFile instead of the bottom.

This makes it vastly simpler to fix up that logic since you no longer have to go find
the end of the function first.

RyanCavanaugh/TypeScript,fabioparra/TypeScript,samuelhorwitz/typescript,nagyistoce/TypeScript,bpowers/TypeScript,nycdotnet/TypeScript,gdi2290/TypeScript,weswigham/TypeScript,OlegDokuka/TypeScript,alexeagle/TypeScript,jteplitz602/TypeScript,erikmcc/TypeScript,mihailik/TypeScript,chocolatechipui/TypeScript,ropik/TypeScript,SmallAiTT/TypeScript,Microsoft/TypeScript,fdecampredon/jsx-typescript,HereSinceres/TypeScript,synaptek/TypeScript,nojvek/TypeScript,microsoft/TypeScript,mszczepaniak/TypeScript,shanexu/TypeScript,vilic/TypeScript,chocolatechipui/TypeScript,pcan/TypeScript,chuckjaz/TypeScript,Mqgh2013/TypeScript,webhost/TypeScript,erikmcc/TypeScript,enginekit/TypeScript,matthewjh/TypeScript,zmaruo/TypeScript,rgbkrk/TypeScript,zmaruo/TypeScript,gonifade/TypeScript,mmoskal/TypeScript,ziacik/TypeScript,mihailik/TypeScript,shanexu/TypeScript,kpreisser/TypeScript,blakeembrey/TypeScript,synaptek/TypeScript,rodrigues-daniel/TypeScript,jamesrmccallum/TypeScript,fearthecowboy/TypeScript,ziacik/TypeScript,plantain-00/TypeScript,Raynos/TypeScript,webhost/TypeScript,nycdotnet/TypeScript,ionux/TypeScript,jbondc/TypeScript,mauricionr/TypeScript,AbubakerB/TypeScript,basarat/TypeScript,Microsoft/TypeScript,DLehenbauer/TypeScript,jteplitz602/TypeScript,Eyas/TypeScript,jeremyepling/TypeScript,RReverser/TypeScript,shanexu/TypeScript,blakeembrey/TypeScript,jwbay/TypeScript,matthewjh/TypeScript,yukulele/TypeScript,yazeng/TypeScript,OlegDokuka/TypeScript,alexeagle/TypeScript,evgrud/TypeScript,hitesh97/TypeScript,fabioparra/TypeScript,weswigham/TypeScript,abbasmhd/TypeScript,yortus/TypeScript,bpowers/TypeScript,kimamula/TypeScript,MartyIX/TypeScript,keir-rex/TypeScript,mauricionr/TypeScript,shovon/TypeScript,impinball/TypeScript,shovon/TypeScript,TukekeSoft/TypeScript,mcanthony/TypeScript,nagyistoce/TypeScript,enginekit/TypeScript,hoanhtien/TypeScript,evgrud/TypeScript,DanielRosenwasser/TypeScript,jamesrmccallum/TypeScript,enginekit/TypeScript,keir-rex/TypeScript,rodrigues-daniel/TypeScript,SaschaNaz/TypeScript,Raynos/TypeScript,basarat/TypeScript,jdavidberger/TypeScript,impinball/TypeScript,microsoft/TypeScript,chuckjaz/TypeScript,zmaruo/TypeScript,MartyIX/TypeScript,blakeembrey/TypeScript,ZLJASON/TypeScript,Viromo/TypeScript,rgbkrk/TypeScript,shiftkey/TypeScript,jeremyepling/TypeScript,thr0w/Thr0wScript,suto/TypeScript,msynk/TypeScript,yukulele/TypeScript,mmoskal/TypeScript,kpreisser/TypeScript,DanielRosenwasser/TypeScript,rodrigues-daniel/TypeScript,mszczepaniak/TypeScript,thr0w/Thr0wScript,plantain-00/TypeScript,hoanhtien/TypeScript,basarat/TypeScript,synaptek/TypeScript,msynk/TypeScript,mmoskal/TypeScript,mcanthony/TypeScript,tinganho/TypeScript,chocolatechipui/TypeScript,TukekeSoft/TypeScript,HereSinceres/TypeScript,minestarks/TypeScript,billti/TypeScript,RReverser/TypeScript,suto/TypeScript,Viromo/TypeScript,kitsonk/TypeScript,jbondc/TypeScript,DanielRosenwasser/TypeScript,RyanCavanaugh/TypeScript,ropik/TypeScript,thr0w/Thr0wScript,evgrud/TypeScript,chuckjaz/TypeScript,ionux/TypeScript,gonifade/TypeScript,yortus/TypeScript,progre/TypeScript,billti/TypeScript,bpowers/TypeScript,DLehenbauer/TypeScript,kingland/TypeScript,germ13/TypeScript,kumikumi/TypeScript,mcanthony/TypeScript,rgbkrk/TypeScript,tempbottle/TypeScript,kitsonk/TypeScript,jdavidberger/TypeScript,kimamula/TypeScript,tempbottle/TypeScript,MartyIX/TypeScript,SaschaNaz/TypeScript,kingland/TypeScript,moander/TypeScript,TukekeSoft/TypeScript,sassson/TypeScript,ziacik/TypeScript,shanexu/TypeScript,ZLJASON/TypeScript,HereSinceres/TypeScript,mihailik/TypeScript,nojvek/TypeScript,DLehenbauer/TypeScript,microsoft/TypeScript,sassson/TypeScript,tinganho/TypeScript,Raynos/TypeScript,minestarks/TypeScript,moander/TypeScript,hoanhtien/TypeScript,vilic/TypeScript,tinganho/TypeScript,jbondc/TypeScript,kimamula/TypeScript,germ13/TypeScript,fdecampredon/jsx-typescript,keir-rex/TypeScript,Mqgh2013/TypeScript,basarat/TypeScript,SimoneGianni/TypeScript,nojvek/TypeScript,matthewjh/TypeScript,abbasmhd/TypeScript,JohnZ622/TypeScript,AbubakerB/TypeScript,SimoneGianni/TypeScript,chuckjaz/TypeScript,zhengbli/TypeScript,abbasmhd/TypeScript,plantain-00/TypeScript,yortus/TypeScript,donaldpipowitch/TypeScript,Microsoft/TypeScript,donaldpipowitch/TypeScript,Eyas/TypeScript,samuelhorwitz/typescript,zhengbli/TypeScript,jteplitz602/TypeScript,JohnZ622/TypeScript,erikmcc/TypeScript,nycdotnet/TypeScript,AbubakerB/TypeScript,moander/TypeScript,mcanthony/TypeScript,gonifade/TypeScript,mauricionr/TypeScript,ionux/TypeScript,ropik/TypeScript,JohnZ622/TypeScript,MartyIX/TypeScript,Eyas/TypeScript,jwbay/TypeScript,rodrigues-daniel/TypeScript,kumikumi/TypeScript,kitsonk/TypeScript,Mqgh2013/TypeScript,donaldpipowitch/TypeScript,jwbay/TypeScript,tempbottle/TypeScript,pcan/TypeScript,shovon/TypeScript,weswigham/TypeScript,alexeagle/TypeScript,mihailik/TypeScript,fearthecowboy/TypeScript,plantain-00/TypeScript,RyanCavanaugh/TypeScript,Raynos/TypeScript,SaschaNaz/TypeScript,samuelhorwitz/typescript,mmoskal/TypeScript,synaptek/TypeScript,vilic/TypeScript,pcan/TypeScript,kpreisser/TypeScript,sassson/TypeScript,jwbay/TypeScript,hitesh97/TypeScript,evgrud/TypeScript,nagyistoce/TypeScript,blakeembrey/TypeScript,donaldpipowitch/TypeScript,OlegDokuka/TypeScript,webhost/TypeScript,SimoneGianni/TypeScript,nojvek/TypeScript,kingland/TypeScript,jdavidberger/TypeScript,msynk/TypeScript,suto/TypeScript,SmallAiTT/TypeScript,yazeng/TypeScript,Eyas/TypeScript,vilic/TypeScript,JohnZ622/TypeScript,Viromo/TypeScript,yukulele/TypeScript,fdecampredon/jsx-typescript,thr0w/Thr0wScript,nycdotnet/TypeScript,progre/TypeScript,ZLJASON/TypeScript,shiftkey/TypeScript,jamesrmccallum/TypeScript,DLehenbauer/TypeScript,hitesh97/TypeScript,samuelhorwitz/typescript,shiftkey/TypeScript,RReverser/TypeScript,minestarks/TypeScript,kimamula/TypeScript,ropik/TypeScript,yortus/TypeScript,jeremyepling/TypeScript,fabioparra/TypeScript,SmallAiTT/TypeScript,germ13/TypeScript,DanielRosenwasser/TypeScript,zhengbli/TypeScript,yazeng/TypeScript,Viromo/TypeScript,ionux/TypeScript,erikmcc/TypeScript,mauricionr/TypeScript,ziacik/TypeScript,fdecampredon/jsx-typescript,AbubakerB/TypeScript,progre/TypeScript,moander/TypeScript,fabioparra/TypeScript,SaschaNaz/TypeScript,fearthecowboy/TypeScript,impinball/TypeScript,billti/TypeScript,kumikumi/TypeScript,mszczepaniak/TypeScript