private function sign()
    {
        if ($this->lexer->isNextToken(Lexer::T_PLUS)) {
            // Match plus and set sign
            $this->match(Lexer::T_PLUS);

            return 1;
        }

        // Match minus and set sign
        $this->match(Lexer::T_MINUS);

        return -1;
    }
private function sign()
    {
        if ($this->lexer->isNextToken(Lexer::T_PLUS)) {
            // Match plus and set sign
            $this->match(Lexer::T_PLUS);

            return 1;
        }

        // Match minus and set sign
        $this->match(Lexer::T_MINUS);

        return -1;
    }
private function sign ( ) { if ( $ this -> lexer -> isNextToken ( Lexer :: T_PLUS ) ) { // Match plus and set sign $ this -> match ( Lexer :: T_PLUS ) ; return 1 ; } // Match minus and set sign $ this -> match ( Lexer :: T_MINUS ) ; return - 1 ; }
Match plus or minus sign and return coefficient

@return int
Match plus or minus sign and return coefficient