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:
e097ee6
)
JSDOC/Walker2.js
author
Alan Knowles
<alan@akkbhome.com>
Tue, 6 Jul 2010 23:24:51 +0000
(07:24 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Tue, 6 Jul 2010 23:24:51 +0000
(07:24 +0800)
JSDOC/Walker2.js
patch
|
blob
|
history
diff --git
a/JSDOC/Walker2.js
b/JSDOC/Walker2.js
index
7e97ce8
..
1ce5b56
100644
(file)
--- a/
JSDOC/Walker2.js
+++ b/
JSDOC/Walker2.js
@@
-178,7
+178,7
@@
Walker2 = XObject.define(
// it's a scope changer..
if (newDoc.getTag("scope").length) {
// it's a scope changer..
if (newDoc.getTag("scope").length) {
-
//print(newDoc.getTag("scope").toSource()
);
+
print("Walker2 : doctag changes scope"
);
//throw "done";
scope.ident = '$private$|' + newDoc.getTag("scope")[0].desc;
continue;
//throw "done";
scope.ident = '$private$|' + newDoc.getTag("scope")[0].desc;
continue;
@@
-188,6
+188,7
@@
Walker2 = XObject.define(
if (newDoc.getTag("scopeAlias").length) {
//print(newDoc.getTag("scopeAlias").toSource());
// @scopeAlias a=b
if (newDoc.getTag("scopeAlias").length) {
//print(newDoc.getTag("scopeAlias").toSource());
// @scopeAlias a=b
+ print("Walker2 : doctag changes scope (alias)");
var sal = newDoc.getTag("scopeAlias")[0].desc.split("=");
aliases[sal[0]] = sal[1];
var sal = newDoc.getTag("scopeAlias")[0].desc.split("=");
aliases[sal[0]] = sal[1];
@@
-197,6
+198,7
@@
Walker2 = XObject.define(
/// got a doc comment..
//token.data might be this.??? (not sure though)
/// got a doc comment..
//token.data might be this.??? (not sure though)
+ print("Walker2 : setting currentDoc");
this.currentDoc = newDoc;
continue;
}
this.currentDoc = newDoc;
continue;
}