scala: Refactor common walks of children into method
scala: Refactor common walks of children into method

I cannot think of a better name for this method right now.

colindean/autocomplete,vivekn/autocomplete,vivekn/autocomplete,tvmaly/autocomplete,colindean/autocomplete,tvmaly/autocomplete,tvmaly/autocomplete,tvmaly/autocomplete,tvmaly/autocomplete,vivekn/autocomplete,vivekn/autocomplete,colindean/autocomplete,colindean/autocomplete,colindean/autocomplete,vivekn/autocomplete