thirdparty/jsdoctoolkit/app/handlers/FOODOC.js
author Daniel Hans <Daniel.M.Hans@gmail.com>
Fri, 30 Oct 2009 01:23:37 +0100
changeset 3067 371e1979ee6a
parent 3041 c8f47f0b6697
permissions -rw-r--r--
checkIsHostForProgram function takes a new 'logic' argument. It determines which logic should be used to look up for program entity. If the argument is not given, the standard program_logic will be used.

/**
   This is the main container for the FOODOC handler.
   @namespace
*/
FOODOC = {
};

/** The current version string of this application. */
FOODOC.VERSION = "1.0";

FOODOC.handle = function(srcFile, src) {
	LOG.inform("Handling file '" + srcFile + "'");
	
	return [
		new JSDOC.Symbol(
			"foo",
			[],
			"VIRTUAL",
			new JSDOC.DocComment("/** This is a foo. */")
		)
	];
};

FOODOC.publish = function(symbolgroup) {
	LOG.inform("Publishing symbolgroup.");
};