private function restoreOriginalLexer()
    {
        if ($this->originalTwigLexer != null) {
            $this->templateRenderer->getStringEnvironment()->setLexer($this->originalTwigLexer);
        }
    }