protected function skipTokenOfType(array $types = [])
    {
        while ((!$this->parserIsDone()) && in_array($this->currentToken()->getType(), $types))
        {
            $this->skipToken();
        }
    }
protected function skipTokenOfType(array $types = [])
    {
        while ((!$this->parserIsDone()) && in_array($this->currentToken()->getType(), $types))
        {
            $this->skipToken();
        }
    }
protected function skipTokenOfType ( array $ types = [ ] ) { while ( ( ! $ this -> parserIsDone ( ) ) && in_array ( $ this -> currentToken ( ) -> getType ( ) , $ types ) ) { $ this -> skipToken ( ) ; } }
Skip all upcoming tokens of the given type

@param array[int]         $types
@return void
Skip all upcoming tokens of the given type