Infractructure for parsing php-tokens