function nodeToString(node, label) {
	const suffix = label ? `:${label}` : "";

	switch (node.type) {
		case "Identifier":
			return `${node.type}${suffix} (${node.name})`;
		case "Literal":
			return `${node.type}${suffix} (${node.value})`;
		default:
			return `${node.type}${suffix}`;
	}
}
Get string for the given node and operation.
@param {ASTNode} node The node to convert.
@param {"enter" | "exit" | undefined} label The operation label.
@returns {string} The string representation.