search: put parser functions and tests in one file
Created by: rvantonder
Part of #13754, want to clean up this parser/scanner code now. This only renames/moves things around, see commits.
Created by: rvantonder
Part of #13754, want to clean up this parser/scanner code now. This only renames/moves things around, see commits.