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:
fe422e0
)
JSDOC/Walker2.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Jul 2010 02:54:06 +0000
(10:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Jul 2010 02:54:06 +0000
(10:54 +0800)
JSDOC/Walker2.js
patch
|
blob
|
history
diff --git
a/JSDOC/Walker2.js
b/JSDOC/Walker2.js
index
48396db
..
ea12063
100644
(file)
--- a/
JSDOC/Walker2.js
+++ b/
JSDOC/Walker2.js
@@
-427,7
+427,7
@@
Walker2 = XObject.define(
this.currentDoc = false;
continue;
}
this.currentDoc = false;
continue;
}
- /*
+
if (this.currentDoc) {
//print(token.toString());
if (this.currentDoc) {
//print(token.toString());
@@
-438,8
+438,8
@@
Walker2 = XObject.define(
if (((this.ts.lookTok(1).data == ':' )|| (this.ts.lookTok(1).data == '=')) &&
(this.ts.lookTok(2).name == "FUNCTION")
) {
if (((this.ts.lookTok(1).data == ':' )|| (this.ts.lookTok(1).data == '=')) &&
(this.ts.lookTok(2).name == "FUNCTION")
) {
- this.ts.nextTok();
- this.ts.nextTok();
+
//
this.ts.nextTok();
+
//
this.ts.nextTok();
atype = 'FUNCTION';
}
atype = 'FUNCTION';
}
@@
-454,7
+454,7
@@
Walker2 = XObject.define(
}
}
- */
+
continue; // dont care about other idents..
continue; // dont care about other idents..
@@
-477,16
+477,16
@@
Walker2 = XObject.define(
//print("GOT FUNCTION");
// see if we have an unconsumed doc...
//print("GOT FUNCTION");
// see if we have an unconsumed doc...
-
//
if (this.currentDoc) {
-
//
throw {
-
//
name: "ArgumentError",
-
//
message: "Unhandled doc (TOKfunction)" + token.toString()
-
//
};
- //
+ if (this.currentDoc) {
+ throw {
+ name: "ArgumentError",
+ message: "Unhandled doc (TOKfunction)" + token.toString()
+ };
+
//this.addSymbol(this.currentDoc.getTag('class')[0].name, true);
//throw "Unconsumed Doc: (TOKrbrace)" + this.currentDoc.toSource();
//this.addSymbol(this.currentDoc.getTag('class')[0].name, true);
//throw "Unconsumed Doc: (TOKrbrace)" + this.currentDoc.toSource();
-
//
}
+ }