function registerFunction( node ) {
		var annotations;
		if (
			node.id &&
			node.id.name &&
			!hasOwnProp( functionHash, node.id.name )
		) {
			annotations = extractThrowsAnnotations( node );
			functionHash[ node.id.name ] = {
				'name': node.id.name,
				'start': node.start,
				'end': node.end,
				'loc': node.loc,
				'throwAnnotations': annotations || [],
				'functionBoundaries': extractFunctionBoundaries( node ),
				'hasJSDoc': isArray( annotations )
			};
		}
	}
Registers a function.

@private
@param {ASTNode} node - function node