function isLexicalDeclaration(nodeToCheck) {
			if (nodeToCheck.type === "VariableDeclaration") {
				return (
					nodeToCheck.kind === "const" || nodeToCheck.kind === "let"
				);
			}

			return (
				nodeToCheck.type === "FunctionDeclaration" ||
				nodeToCheck.type === "ClassDeclaration"
			);
		}
Determines if the given node is a lexical declaration (let, const, function, or class)
@param {ASTNode} nodeToCheck The node to check
@returns {boolean} True if the node is a lexical declaration
@private