public function readSequenceToNext($type, $skipDelimiter = false)
	{
		$tokens = [];
		$delim = (array)$type;

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

			if($token->isOneOf($delim))
			{
				if(!$skipDelimiter)
				{
					$tokens[] = $token;
				}

				break;
			}

			$tokens[] = $token;

			$this->next();
		}

		return $this->createTokenSequence($tokens);
	}