public function moveToNext($type, callable $callback = NULL)
	{
		$delim = (array)$type;

		while($this->valid())
		{
			$token = $this->current();

			if($token->isOneOf($delim))
			{
				return $token;
			}

			if($callback !== NULL)
			{
				$callback($token);
			}

			$this->next();
		}
	}