public function afterConsume(int $type): void
    {
        // Put in escaping mode if it were not escaping and there is a backslash token.
        if (! $this->currentlyEscaping && $type === AnnotationLexer::T_BACKSLASH) {
            $this->currentlyEscaping = true;
        } else {
            $this->currentlyEscaping = false;
        }
    }
public function afterConsume(int $type): void
    {
        // Put in escaping mode if it were not escaping and there is a backslash token.
        if (! $this->currentlyEscaping && $type === AnnotationLexer::T_BACKSLASH) {
            $this->currentlyEscaping = true;
        } else {
            $this->currentlyEscaping = false;
        }
    }
public function afterConsume ( int $ type ) : void { // Put in escaping mode if it were not escaping and there is a backslash token. if ( ! $ this -> currentlyEscaping && $ type === AnnotationLexer :: T_BACKSLASH ) { $ this -> currentlyEscaping = true ; } else { $ this -> currentlyEscaping = false ; } }
A method that is executed after consuming a token.

@param int $type The token type (an integer from the Lexer class constant).
A method that is executed after consuming a token .