code: function getControlStatementParent(node) {
  			if(node && node.parents) {
  				var i = node.parents.length-1,
  					p = node.parents[i];
  				while(p && i > -1) {
  					if(controlStatements.indexOf(p.type) > -1) {
  						return p;
  					}
  					p = node.parents[--i];
  				}
  			}
  			else {
  				return null;
  			}
  		}
docs: $NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ 
  @description Walks the parents array and checks to see if there is a control statement as a direct parent
  @param {Object} node The AST node to check
  @returns {Object} The AST node that is a direct control statement parent of the given node, or null