getData( node ) {

		let data = this.nodesData.get( node );

		if ( data === undefined && this.parent !== null ) {

			data = this.parent.getData( node );

		}

		return data;

	}
Returns the data for the given node.

@param {Node} node - The node.
@return {?Object} The data for the node.