public function parseOperator()
    {
        $token = '';

        /**
         * Value to be returned.
         *
         * @var Token
         */
        $ret = null;

        /**
         * The value of `$this->last` where `$token` ends in `$this->str`.
         *
         * @var int
         */
        $iEnd = $this->last;

        for ($j = 1; $j < Context::OPERATOR_MAX_LENGTH && $this->last < $this->len; ++$j, ++$this->last) {
            $token .= $this->str[$this->last];
            if ($flags = Context::isOperator($token)) {
                $ret = new Token($token, Token::TYPE_OPERATOR, $flags);
                $iEnd = $this->last;
            }
        }

        $this->last = $iEnd;

        return $ret;
    }
public function parseOperator()
    {
        $token = '';

        /**
         * Value to be returned.
         *
         * @var Token
         */
        $ret = null;

        /**
         * The value of `$this->last` where `$token` ends in `$this->str`.
         *
         * @var int
         */
        $iEnd = $this->last;

        for ($j = 1; $j < Context::OPERATOR_MAX_LENGTH && $this->last < $this->len; ++$j, ++$this->last) {
            $token .= $this->str[$this->last];
            if ($flags = Context::isOperator($token)) {
                $ret = new Token($token, Token::TYPE_OPERATOR, $flags);
                $iEnd = $this->last;
            }
        }

        $this->last = $iEnd;

        return $ret;
    }
public function parseOperator ( ) { $ token = '' ; /**
         * Value to be returned.
         *
         * @var Token
         */ $ ret = null ; /**
         * The value of `$this->last` where `$token` ends in `$this->str`.
         *
         * @var int
         */ $ iEnd = $ this -> last ; for ( $ j = 1 ; $ j < Context :: OPERATOR_MAX_LENGTH && $ this -> last < $ this -> len ; ++ $ j , ++ $ this -> last ) { $ token .= $ this -> str [ $ this -> last ] ; if ( $ flags = Context :: isOperator ( $ token ) ) { $ ret = new Token ( $ token , Token :: TYPE_OPERATOR , $ flags ) ; $ iEnd = $ this -> last ; } } $ this -> last = $ iEnd ; return $ ret ; }
Parses an operator.

@return null|Token
Parses an operator .