]> git.openstreetmap.org Git - nominatim.git/commit
move SearchDescription building into tokens
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Jul 2021 18:24:33 +0000 (20:24 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Jul 2021 18:24:33 +0000 (20:24 +0200)
commita48ebd9b477318bc5fdb44d7dc6bbf695911a4b9
tree206d1440c2055f3e93c12afd3f818b4408a4e53a
parent3cd85eaaf16f740bb984436184b37a84a94b2553
move SearchDescription building into tokens

Moving the logic for extending the SearchDescription into the
token classes splits up the code and makes it more readable.
More importantly: it allows tokenizer to define custom token
classes in the future.
lib-php/Geocode.php
lib-php/SearchDescription.php
lib-php/TokenCountry.php
lib-php/TokenHousenumber.php
lib-php/TokenList.php
lib-php/TokenPartial.php
lib-php/TokenPostcode.php
lib-php/TokenSpecialTerm.php
lib-php/TokenWord.php