style: Use macro for path parser.
style: Use macro for path parser.

There are a lot of duplicates, so we use macro to refine them.

Depends on D2963

Differential Revision: https://phabricator.services.mozilla.com/D2966

larsbergstrom/servo,notriddle/servo,SimonSapin/servo,saneyuki/servo,jimberlage/servo,sadmansk/servo,jimberlage/servo,KiChjang/servo,emilio/servo,sadmansk/servo,notriddle/servo,nnethercote/servo,splav/servo,larsbergstrom/servo,saneyuki/servo,szeged/servo,notriddle/servo,emilio/servo,nnethercote/servo,larsbergstrom/servo,jimberlage/servo,notriddle/servo,DominoTree/servo,jimberlage/servo,splav/servo,pyfisch/servo,paulrouget/servo,emilio/servo,nnethercote/servo,emilio/servo,SimonSapin/servo,peterjoel/servo,pyfisch/servo,DominoTree/servo,szeged/servo,splav/servo,pyfisch/servo,saneyuki/servo,KiChjang/servo,KiChjang/servo,splav/servo,nnethercote/servo,paulrouget/servo,sadmansk/servo,nnethercote/servo,splav/servo,paulrouget/servo,emilio/servo,notriddle/servo,peterjoel/servo,larsbergstrom/servo,KiChjang/servo,paulrouget/servo,KiChjang/servo,SimonSapin/servo,nnethercote/servo,peterjoel/servo,emilio/servo,DominoTree/servo,emilio/servo,DominoTree/servo,nnethercote/servo,peterjoel/servo,SimonSapin/servo,saneyuki/servo,splav/servo,sadmansk/servo,pyfisch/servo,SimonSapin/servo,KiChjang/servo,DominoTree/servo,saneyuki/servo,sadmansk/servo,larsbergstrom/servo,pyfisch/servo,peterjoel/servo,szeged/servo,pyfisch/servo,SimonSapin/servo,larsbergstrom/servo,jimberlage/servo,szeged/servo,szeged/servo,DominoTree/servo,nnethercote/servo,jimberlage/servo,splav/servo,paulrouget/servo,szeged/servo,larsbergstrom/servo,szeged/servo,peterjoel/servo,emilio/servo,paulrouget/servo,splav/servo,DominoTree/servo,peterjoel/servo,pyfisch/servo,jimberlage/servo,DominoTree/servo,szeged/servo,larsbergstrom/servo,saneyuki/servo,pyfisch/servo,emilio/servo,notriddle/servo,paulrouget/servo,saneyuki/servo,KiChjang/servo,KiChjang/servo,KiChjang/servo,peterjoel/servo,nnethercote/servo,larsbergstrom/servo,jimberlage/servo,sadmansk/servo,peterjoel/servo,emilio/servo,notriddle/servo,peterjoel/servo,saneyuki/servo,SimonSapin/servo,SimonSapin/servo,splav/servo,pyfisch/servo,jimberlage/servo,notriddle/servo,paulrouget/servo,paulrouget/servo,notriddle/servo,splav/servo,sadmansk/servo,DominoTree/servo,pyfisch/servo,notriddle/servo,nnethercote/servo,sadmansk/servo,saneyuki/servo,szeged/servo,saneyuki/servo,paulrouget/servo,KiChjang/servo,larsbergstrom/servo,szeged/servo,DominoTree/servo