getTokens(node, beforeCount, afterCount) {
		return createCursorWithPadding(
			this[TOKENS],
			this[COMMENTS],
			this[INDEX_MAP],
			node.range[0],
			node.range[1],
			beforeCount,
			afterCount,
		).getAllTokens();
	}
Gets all tokens that are related to the given node.
@param {ASTNode} node The AST node.
@param {number} [beforeCount=0] The number of tokens before the node to retrieve.
@param {number} [afterCount=0] The number of tokens after the node to retrieve.
@returns {Token[]} Array of objects representing tokens.