lib/rules/indent.js
function getNodeIndent(node, byLastLine, excludeCommas) {
		var token = byLastLine ? context.getLastToken(node) : context.getFirstToken(node);
		var src = context.getSource(token, token.loc.start.column);
		var regExp = excludeCommas ? indentPattern.excludeCommas : indentPattern.normal;
		var indent = regExp.exec(src);

		return indent ? indent[0].length : 0;
	}
function getNodeIndent(node, byLastLine, excludeCommas) {
		var token = byLastLine ? context.getLastToken(node) : context.getFirstToken(node);
		var src = context.getSource(token, token.loc.start.column);
		var regExp = excludeCommas ? indentPattern.excludeCommas : indentPattern.normal;
		var indent = regExp.exec(src);

		return indent ? indent[0].length : 0;
	}
Get node indent
@param {ASTNode|Token} node Node to examine
@param {boolean} [byLastLine=false] get indent of node's last line
@param {boolean} [excludeCommas=false] skip comma on start of line
@returns {int} Indent