lib/rules/indent.js
function getVariableDeclaratorNode(node) {
		var parent = node.parent;

		while (parent.type !== "VariableDeclarator" && parent.type !== "Program") {
			parent = parent.parent;
		}

		return parent.type === "VariableDeclarator" ? parent : null;
	}
function getVariableDeclaratorNode(node) {
		var parent = node.parent;

		while (parent.type !== "VariableDeclarator" && parent.type !== "Program") {
			parent = parent.parent;
		}

		return parent.type === "VariableDeclarator" ? parent : null;
	}
function getVariableDeclaratorNode ( node ) { var parent = node . parent ; while ( parent . type !== "VariableDeclarator" && parent . type !== "Program" ) { parent = parent . parent ; } return parent . type === "VariableDeclarator" ? parent : null ; }
Returns the VariableDeclarator based on the current node
if not present then return null
@param {ASTNode} node node to examine
@returns {ASTNode|void} if found then node otherwise null
Returns the VariableDeclarator based on the current node if not present then return null