public function parse(string $input): Type
    {
        $this->lexer->setInput($input);
        $this->lexer->moveNext();

        return $this->parseInternal();
    }
public function parse(string $input): Type
    {
        $this->lexer->setInput($input);
        $this->lexer->moveNext();

        return $this->parseInternal();
    }
public function parse ( string $ input ) : Type { $ this -> lexer -> setInput ( $ input ) ; $ this -> lexer -> moveNext ( ) ; return $ this -> parseInternal ( ) ; }
Parse a type string.

@param string $input

@return Type

@throws SyntaxErrorException
Parse a type string .