protected function compileScalar($value, $inCode = false)
    {

        $sequences = $this->options['escape_sequences'];

        foreach ($sequences as $seq => $repl) {
            $value = preg_replace('/(?<!\\\\)'.preg_quote($seq, '/').'/', $repl, $value);
        }


        return $this->interpolate(trim($value, '\'"'), $inCode);
    }