function validate( node ) {
		var jsdoc;
		var ast;

		if ( node.parent.type !== 'Program' ) {
			// Only validate nodes at the module scope...
			return;
		}
		jsdoc = findJSDoc( source, node );
		if ( isObject( jsdoc ) ) {
			ast = parseJSDoc( jsdoc.value, DOPTS );
			processTags( jsdoc, ast.tags );
		}
	}
Checks whether return annotations in example code match the actual output.

@private
@param {ASTNode} node - node to examine