projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
983c527
)
JSDOC/ScopeParser.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 05:56:55 +0000
(13:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 05:56:55 +0000
(13:56 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
b527a15
..
0a7eeed
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-325,6
+325,20
@@
ScopeParser.prototype = {
//println("<i>"+token.data+"</i>");
if (token.props) {
//println("<i>"+token.data+"</i>");
if (token.props) {
+ for (var prop in token.props) {
+ if (token.props[prop].val.data == 'function') {
+ // parse a function..
+ this.parseFunctProp(token.props[prop]);
+ continue;
+ }
+ // key value..
+ var curTS = this.ts;
+ this.ts = new TokenStream(token.props[prop].val);
+ this.parseScope(scope);
+ this.ts = curTS;
+
+ }
+
// it's an object literal..
// the values could be replaced..
// it's an object literal..
// the values could be replaced..