public function createFromTokens(array $tokens)
    {
        $buffer = $this->delimiter . '^';

        foreach ($tokens as $token) {
            $buffer .= $this->translateToken($token);
        }

        $buffer .= '$' . $this->delimiter . $this->modifiers;

        return $buffer;
    }