you should use ``$compiler->string()`` instead of duplicating its logic