refactor some argument parsing logic out to a new parseArgument function, and generalize it to work with nameless selector chunks.  foo:: is allowed to ignore the second argument name if it wants to :-)
refactor some argument parsing logic out to a new parseArgument function,
and generalize it to work with nameless selector chunks.  foo:: is allowed
to ignore the second argument name if it wants to :-)



Swift SVN r13749

karwa/swift,KrishMunot/swift,gottesmm/swift,huonw/swift,roambotics/swift,uasys/swift,cbrentharris/swift,glessard/swift,hughbe/swift,gottesmm/swift,gribozavr/swift,gmilos/swift,SwiftAndroid/swift,IngmarStein/swift,shahmishal/swift,bitjammer/swift,adrfer/swift,gottesmm/swift,jckarter/swift,austinzheng/swift,parkera/swift,shajrawi/swift,hooman/swift,tardieu/swift,jtbandes/swift,djwbrown/swift,emilstahl/swift,manavgabhawala/swift,modocache/swift,russbishop/swift,jmgc/swift,shahmishal/swift,practicalswift/swift,nathawes/swift,ahoppen/swift,djwbrown/swift,LeoShimonaka/swift,zisko/swift,kstaring/swift,atrick/swift,aschwaighofer/swift,felix91gr/swift,swiftix/swift,benlangmuir/swift,parkera/swift,swiftix/swift.old,tardieu/swift,amraboelela/swift,roambotics/swift,glessard/swift,jopamer/swift,sdulal/swift,atrick/swift,MukeshKumarS/Swift,danielmartin/swift,parkera/swift,russbishop/swift,brentdax/swift,deyton/swift,kstaring/swift,kstaring/swift,Ivacker/swift,hooman/swift,SwiftAndroid/swift,alblue/swift,JGiola/swift,gribozavr/swift,sdulal/swift,nathawes/swift,deyton/swift,atrick/swift,swiftix/swift.old,jckarter/swift,arvedviehweger/swift,hooman/swift,ahoppen/swift,xedin/swift,mightydeveloper/swift,MukeshKumarS/Swift,emilstahl/swift,glessard/swift,OscarSwanros/swift,kstaring/swift,practicalswift/swift,nathawes/swift,devincoughlin/swift,ben-ng/swift,roambotics/swift,ben-ng/swift,alblue/swift,russbishop/swift,stephentyrone/swift,codestergit/swift,dduan/swift,gribozavr/swift,KrishMunot/swift,allevato/swift,hughbe/swift,apple/swift,swiftix/swift.old,glessard/swift,kusl/swift,johnno1962d/swift,Ivacker/swift,gmilos/swift,uasys/swift,amraboelela/swift,apple/swift,tinysun212/swift-windows,CodaFi/swift,natecook1000/swift,amraboelela/swift,khizkhiz/swift,CodaFi/swift,benlangmuir/swift,slavapestov/swift,OscarSwanros/swift,shahmishal/swift,tjw/swift,karwa/swift,jopamer/swift,CodaFi/swift,uasys/swift,johnno1962d/swift,bitjammer/swift,lorentey/swift,parkera/swift,austinzheng/swift,roambotics/swift,Ivacker/swift,SwiftAndroid/swift,LeoShimonaka/swift,tkremenek/swift,tkremenek/swift,calebd/swift,slavapestov/swift,uasys/swift,atrick/swift,harlanhaskins/swift,shahmishal/swift,swiftix/swift.old,nathawes/swift,hughbe/swift,djwbrown/swift,zisko/swift,shahmishal/swift,kentya6/swift,russbishop/swift,uasys/swift,nathawes/swift,gribozavr/swift,sdulal/swift,manavgabhawala/swift,MukeshKumarS/Swift,kentya6/swift,benlangmuir/swift,austinzheng/swift,natecook1000/swift,OscarSwanros/swift,IngmarStein/swift,airspeedswift/swift,sdulal/swift,felix91gr/swift,LeoShimonaka/swift,jopamer/swift,cbrentharris/swift,devincoughlin/swift,djwbrown/swift,apple/swift,frootloops/swift,practicalswift/swift,kentya6/swift,swiftix/swift,devincoughlin/swift,benlangmuir/swift,ahoppen/swift,atrick/swift,tardieu/swift,mightydeveloper/swift,johnno1962d/swift,kperryua/swift,modocache/swift,rudkx/swift,calebd/swift,parkera/swift,aschwaighofer/swift,milseman/swift,arvedviehweger/swift,manavgabhawala/swift,dreamsxin/swift,danielmartin/swift,danielmartin/swift,huonw/swift,bitjammer/swift,kusl/swift,sschiau/swift,rudkx/swift,devincoughlin/swift,amraboelela/swift,atrick/swift,JGiola/swift,felix91gr/swift,sschiau/swift,gribozavr/swift,OscarSwanros/swift,sdulal/swift,lorentey/swift,harlanhaskins/swift,manavgabhawala/swift,frootloops/swift,austinzheng/swift,tardieu/swift,jtbandes/swift,cbrentharris/swift,CodaFi/swift,KrishMunot/swift,lorentey/swift,kentya6/swift,adrfer/swift,jtbandes/swift,parkera/swift,felix91gr/swift,parkera/swift,amraboelela/swift,danielmartin/swift,adrfer/swift,harlanhaskins/swift,kusl/swift,LeoShimonaka/swift,return/swift,JaSpa/swift,JaSpa/swift,dduan/swift,kusl/swift,KrishMunot/swift,xwu/swift,ahoppen/swift,tardieu/swift,tkremenek/swift,hooman/swift,Jnosh/swift,glessard/swift,huonw/swift,gribozavr/swift,gottesmm/swift,milseman/swift,brentdax/swift,johnno1962d/swift,hooman/swift,IngmarStein/swift,xwu/swift,karwa/swift,Jnosh/swift,tardieu/swift,johnno1962d/swift,tkremenek/swift,lorentey/swift,kperryua/swift,emilstahl/swift,JGiola/swift,gottesmm/swift,jopamer/swift,Jnosh/swift,deyton/swift,swiftix/swift,gmilos/swift,stephentyrone/swift,KrishMunot/swift,return/swift,mightydeveloper/swift,jmgc/swift,tjw/swift,LeoShimonaka/swift,practicalswift/swift,stephentyrone/swift,practicalswift/swift,gribozavr/swift,tkremenek/swift,shahmishal/swift,MukeshKumarS/Swift,airspeedswift/swift,ben-ng/swift,return/swift,therealbnut/swift,tjw/swift,therealbnut/swift,practicalswift/swift,natecook1000/swift,cbrentharris/swift,mightydeveloper/swift,harlanhaskins/swift,ahoppen/swift,apple/swift,tkremenek/swift,ben-ng/swift,jckarter/swift,huonw/swift,gottesmm/swift,rudkx/swift,LeoShimonaka/swift,natecook1000/swift,OscarSwanros/swift,codestergit/swift,mightydeveloper/swift,xedin/swift,MukeshKumarS/Swift,tinysun212/swift-windows,JGiola/swift,IngmarStein/swift,swiftix/swift.old,frootloops/swift,danielmartin/swift,codestergit/swift,brentdax/swift,manavgabhawala/swift,gregomni/swift,kentya6/swift,dduan/swift,austinzheng/swift,sdulal/swift,karwa/swift,gregomni/swift,jckarter/swift,tjw/swift,jtbandes/swift,swiftix/swift,hughbe/swift,hughbe/swift,khizkhiz/swift,ken0nek/swift,natecook1000/swift,tjw/swift,jmgc/swift,johnno1962d/swift,jtbandes/swift,return/swift,sschiau/swift,calebd/swift,milseman/swift,benlangmuir/swift,allevato/swift,tinysun212/swift-windows,codestergit/swift,aschwaighofer/swift,hooman/swift,xwu/swift,mightydeveloper/swift,return/swift,bitjammer/swift,lorentey/swift,manavgabhawala/swift,shajrawi/swift,felix91gr/swift,kperryua/swift,adrfer/swift,khizkhiz/swift,Jnosh/swift,gregomni/swift,calebd/swift,return/swift,jckarter/swift,sschiau/swift,swiftix/swift,emilstahl/swift,austinzheng/swift,natecook1000/swift,CodaFi/swift,JGiola/swift,emilstahl/swift,rudkx/swift,xedin/swift,dreamsxin/swift,sschiau/swift,apple/swift,xwu/swift,devincoughlin/swift,adrfer/swift,shajrawi/swift,huonw/swift,alblue/swift,kusl/swift,swiftix/swift.old,Ivacker/swift,ben-ng/swift,felix91gr/swift,Ivacker/swift,dduan/swift,modocache/swift,stephentyrone/swift,shajrawi/swift,nathawes/swift,swiftix/swift.old,shajrawi/swift,harlanhaskins/swift,allevato/swift,khizkhiz/swift,brentdax/swift,amraboelela/swift,gmilos/swift,frootloops/swift,bitjammer/swift,kperryua/swift,Jnosh/swift,jopamer/swift,modocache/swift,dduan/swift,sschiau/swift,slavapestov/swift,therealbnut/swift,xedin/swift,slavapestov/swift,ken0nek/swift,jtbandes/swift,alblue/swift,calebd/swift,airspeedswift/swift,return/swift,swiftix/swift.old,adrfer/swift,tinysun212/swift-windows,Jnosh/swift,slavapestov/swift,allevato/swift,ben-ng/swift,slavapestov/swift,zisko/swift,uasys/swift,emilstahl/swift,uasys/swift,cbrentharris/swift,JGiola/swift,modocache/swift,felix91gr/swift,hughbe/swift,KrishMunot/swift,brentdax/swift,SwiftAndroid/swift,deyton/swift,karwa/swift,karwa/swift,stephentyrone/swift,allevato/swift,shajrawi/swift,therealbnut/swift,ken0nek/swift,austinzheng/swift,tinysun212/swift-windows,kentya6/swift,SwiftAndroid/swift,MukeshKumarS/Swift,alblue/swift,therealbnut/swift,shahmishal/swift,harlanhaskins/swift,kperryua/swift,milseman/swift,djwbrown/swift,tinysun212/swift-windows,milseman/swift,arvedviehweger/swift,calebd/swift,Ivacker/swift,emilstahl/swift,russbishop/swift,hughbe/swift,stephentyrone/swift,kstaring/swift,aschwaighofer/swift,jmgc/swift,arvedviehweger/swift,manavgabhawala/swift,ken0nek/swift,parkera/swift,jckarter/swift,kstaring/swift,brentdax/swift,JaSpa/swift,MukeshKumarS/Swift,jopamer/swift,khizkhiz/swift,JaSpa/swift,codestergit/swift,danielmartin/swift,CodaFi/swift,tjw/swift,jmgc/swift,ken0nek/swift,jopamer/swift,swiftix/swift,gregomni/swift,zisko/swift,OscarSwanros/swift,ken0nek/swift,arvedviehweger/swift,alblue/swift,huonw/swift,djwbrown/swift,gmilos/swift,milseman/swift,aschwaighofer/swift,cbrentharris/swift,mightydeveloper/swift,airspeedswift/swift,adrfer/swift,LeoShimonaka/swift,shahmishal/swift,emilstahl/swift,IngmarStein/swift,kusl/swift,benlangmuir/swift,kperryua/swift,codestergit/swift,alblue/swift,xwu/swift,LeoShimonaka/swift,sdulal/swift,devincoughlin/swift,tjw/swift,dduan/swift,kstaring/swift,SwiftAndroid/swift,huonw/swift,jmgc/swift,roambotics/swift,shajrawi/swift,Ivacker/swift,allevato/swift,JaSpa/swift,modocache/swift,modocache/swift,russbishop/swift,khizkhiz/swift,codestergit/swift,kperryua/swift,xedin/swift,shajrawi/swift,xedin/swift,gregomni/swift,djwbrown/swift,practicalswift/swift,jmgc/swift,gribozavr/swift,deyton/swift,roambotics/swift,mightydeveloper/swift,hooman/swift,frootloops/swift,ken0nek/swift,airspeedswift/swift,khizkhiz/swift,IngmarStein/swift,kentya6/swift,sschiau/swift,natecook1000/swift,Jnosh/swift,OscarSwanros/swift,gmilos/swift,devincoughlin/swift,russbishop/swift,KrishMunot/swift,arvedviehweger/swift,zisko/swift,deyton/swift,gottesmm/swift,glessard/swift,rudkx/swift,calebd/swift,airspeedswift/swift,xedin/swift,karwa/swift,stephentyrone/swift,jtbandes/swift,deyton/swift,xedin/swift,sdulal/swift,apple/swift,arvedviehweger/swift,aschwaighofer/swift,lorentey/swift,cbrentharris/swift,kusl/swift,kentya6/swift,jckarter/swift,ahoppen/swift,lorentey/swift,tkremenek/swift,aschwaighofer/swift,danielmartin/swift,devincoughlin/swift,Ivacker/swift,frootloops/swift,zisko/swift,tinysun212/swift-windows,rudkx/swift,practicalswift/swift,harlanhaskins/swift,brentdax/swift,tardieu/swift,allevato/swift,johnno1962d/swift,frootloops/swift,gregomni/swift,airspeedswift/swift,dduan/swift,SwiftAndroid/swift,lorentey/swift,nathawes/swift,bitjammer/swift,karwa/swift,amraboelela/swift,xwu/swift,cbrentharris/swift,JaSpa/swift,bitjammer/swift,therealbnut/swift,slavapestov/swift,therealbnut/swift,ben-ng/swift,IngmarStein/swift,xwu/swift,gmilos/swift,zisko/swift,sschiau/swift,JaSpa/swift,swiftix/swift,CodaFi/swift,milseman/swift,kusl/swift