function defineStartEndAsErrorInTree(ast, visitorKeys) {
	Traverser.traverse(ast, {
		visitorKeys,
		enter: defineStartEndAsError.bind(null, "node"),
	});
	ast.tokens.forEach(defineStartEndAsError.bind(null, "token"));
	ast.comments.forEach(defineStartEndAsError.bind(null, "token"));
}
Define `start`/`end` properties of all nodes of the given AST as throwing error.
@param {ASTNode} ast The root node to errorize `start`/`end` properties.
@param {Object} [visitorKeys] Visitor keys to be used for traversing the given ast.
@returns {void}