public static function getLiteralValue ($literal)
    {
        preg_match("/^\"(.*)\"/", $literal, $match); //TODO: somehow the copied regex did not work. To be checked. Contained [^]
        if (empty($match)) {
            throw new \Exception($literal . ' is not a literal');
        }
        return $match[1];
    }