public static function parse(Tokenizer $tokenizer, StreamReader $streamReader)
    {
        $v = new self;
        if (\strspn($streamReader->getByte(), "\x00\x09\x0A\x0C\x0D\x20()<>[]{}/%") === 0) {
            $v->value = (string) $tokenizer->getNextToken();
            return $v;
        }

        $v->value = '';
        return $v;
    }
public static function parse(Tokenizer $tokenizer, StreamReader $streamReader)
    {
        $v = new self;
        if (\strspn($streamReader->getByte(), "\x00\x09\x0A\x0C\x0D\x20()<>[]{}/%") === 0) {
            $v->value = (string) $tokenizer->getNextToken();
            return $v;
        }

        $v->value = '';
        return $v;
    }
public static function parse ( Tokenizer $ tokenizer , StreamReader $ streamReader ) { $ v = new self ; if ( \ strspn ( $ streamReader -> getByte ( ) , "\x00\x09\x0A\x0C\x0D\x20()<>[]{}/%" ) === 0 ) { $ v -> value = ( string ) $ tokenizer -> getNextToken ( ) ; return $ v ; } $ v -> value = '' ; return $ v ; }
Parses a name object from the passed tokenizer and stream-reader.

@param Tokenizer $tokenizer
@param StreamReader $streamReader
@return self
Parses a name object from the passed tokenizer and stream - reader .