diff options
author | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 06:45:24 +0000 |
---|---|---|
committer | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 06:45:24 +0000 |
commit | 40b33fb012924073b0c0786d8f75905d47d2cd0f (patch) | |
tree | cbe9882c0e64ec4548ec8238dc6caae8f8378411 /o3d | |
parent | 8980a9c9e8e6b61e3d346e4662e00e0859637ca4 (diff) | |
download | chromium_src-40b33fb012924073b0c0786d8f75905d47d2cd0f.zip chromium_src-40b33fb012924073b0c0786d8f75905d47d2cd0f.tar.gz chromium_src-40b33fb012924073b0c0786d8f75905d47d2cd0f.tar.bz2 |
missing file
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20939 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r-- | o3d/documentation/jsdoc-toolkit-templates/exports.tmpl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/o3d/documentation/jsdoc-toolkit-templates/exports.tmpl b/o3d/documentation/jsdoc-toolkit-templates/exports.tmpl new file mode 100644 index 0000000..8d291fd --- /dev/null +++ b/o3d/documentation/jsdoc-toolkit-templates/exports.tmpl @@ -0,0 +1,33 @@ +{! thisClass = data; !} +// ========== CLASS =========== +goog.exportSymbol('{+getSymbolNameForExport(data)+}', {+getSymbolNameForExport(data)+}); +// ========== PUBLIC TYPES =========== +{! var ownTypes = getPublicTypes(data).sort(makeSortby("name")); !} +<if test="ownTypes.length"> + <for each="property" in="ownTypes"> + <if test="isEnum(property)"> +goog.exportSymbol('{+getSymbolNameForExport(property)+}', {+getSymbolNameForExport(property)+}); + </if> + </for> +</if> + +// ========== METHODS =========== +<if test="thisClass.methods.length"> + {! var ownMethods = data.methods.sort(makeSortby("name")); !} + <if test="ownMethods.length"> + <for each="method" in="ownMethods"> + <if test="!method.isPrivate"> +goog.exportSymbol('{+getSymbolNameForExport(method)+}', {+getSymbolNameForExport(method)+}); + </if> + </for> + </if> +</if> + +//- =========== PROPERTIES =========== +{! var ownProperties = getPublicProperties(data).sort(makeSortby("name")); !} +<if test="ownProperties.length"> + <for each="property" in="ownProperties"> +goog.exportSymbol('{+getSymbolNameForExport(property)+}', {+getSymbolNameForExport(property)+}); + </for> +</if> + |