createBaseCursor(
		tokens,
		comments,
		indexMap,
		startLoc,
		endLoc,
		includeComments,
	) {
		const Cursor = includeComments
			? this.TokenCommentCursor
			: this.TokenCursor;

		return new Cursor(tokens, comments, indexMap, startLoc, endLoc);
	}
Creates a base cursor instance that can be decorated by createCursor.
@param {Token[]} tokens The array of tokens.
@param {Comment[]} comments The array of comments.
@param {Object} indexMap The map from locations to indices in `tokens`.
@param {number} startLoc The start location of the iteration range.
@param {number} endLoc The end location of the iteration range.
@param {boolean} includeComments The flag to iterate comments as well.
@returns {Cursor} The created base cursor.