function findNode( nodes, cursor ) {
	var node;
	var i;
	for ( i = 0; i < nodes.length; i++ ) {
		node = nodes[ i ];
		if ( node.start <= cursor && cursor <= node.end ) {
			return node;
		}
	}
	return null;
}
Returns the AST node associated with a provided cursor position.

@private
@param {Array<Node>} nodes - list of AST nodes
@param {NonNegativeInteger} cursor - cursor position
@returns {(Node|null)} associated AST node or null