From 4221d437ce8e1ae61e8487d05182e3e6d5583dd8 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 1 Jun 2012 01:41:38 +0200 Subject: [PATCH] Ox.doc: parse inherited properties --- source/Ox/js/JavaScript.js | 116 +++++++++++++++++++++++++++++++++---- 1 file changed, 104 insertions(+), 12 deletions(-) diff --git a/source/Ox/js/JavaScript.js b/source/Ox/js/JavaScript.js index 8eb8d1ea..f9836e08 100644 --- a/source/Ox/js/JavaScript.js +++ b/source/Ox/js/JavaScript.js @@ -13,11 +13,16 @@ Ox.doc Generates documentation for annotated JavaScript arguments <[o]|u> Arguments (array of doc objects) Present if the type of the item is "function". - description Multi-line description with optional markup - See Ox.sanitizeHTML for details + class Class of the item + default Default value of the item + description Multi-line description with some Markdown + See Ox.parseMarkdown for details events <[o]|u> Events (array of doc objects) Present if the item fires any events file File name + inherited <[o]|u> Inherited properties (array of doc objects) + Present if the item has a class, and any item in its inheritance + chain has (unshadowed) properties line Line number name Name of the item order <[s]> Order of returns, arguments, properties @@ -35,11 +40,12 @@ Ox.doc Generates documentation for annotated JavaScript returns <[o]> Return values (array of doc objects) Present if the type of the item is "function". - summary One-line summary + summary One-line summary, with some Markdown + See Ox.parseMarkdown for details tests <[o]> Tests (array of test objects) expected Expected result statement Statement - type Type of the item + types <[s]> Types of the item