protected function skipTo($token)
	{
		while (++$this->i < $this->cnt)
		{
			if ($this->tokens[$this->i] === $token)
			{
				return true;
			}
		}

		return false;
	}
protected function skipTo($token)
	{
		while (++$this->i < $this->cnt)
		{
			if ($this->tokens[$this->i] === $token)
			{
				return true;
			}
		}

		return false;
	}
protected function skipTo ( $ token ) { while ( ++ $ this -> i < $ this -> cnt ) { if ( $ this -> tokens [ $ this -> i ] === $ token ) { return true ; } } return false ; }
Move the cursor until it reaches given token

@param  array|string $token Target token
@return bool                Whether a matching token was found
Move the cursor until it reaches given token