projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/Walker2.js
[gnome.introspection-doc-generator]
/
JSDOC
/
Walker2.js
diff --git
a/JSDOC/Walker2.js
b/JSDOC/Walker2.js
index
c5ced61
..
119c84a
100644
(file)
--- a/
JSDOC/Walker2.js
+++ b/
JSDOC/Walker2.js
@@
-259,7
+259,7
@@
Walker2 = XObject.define(
this.ts.lookT(4).type == 'NAME' &&
this.ts.lookT(5).data == ',' &&
this.ts.lookT(6).data == '{'
this.ts.lookT(4).type == 'NAME' &&
this.ts.lookT(5).data == ',' &&
this.ts.lookT(6).data == '{'
- }
+
) {
// ignore test for ( a and ,
this.ts.nextT(); /// (
) {
// ignore test for ( a and ,
this.ts.nextT(); /// (
@@
-545,7
+545,7
@@
Walker2 = XObject.define(
//print( [this.ts.lookT(-3).type , this.ts.lookT(-2).type , this.ts.lookT(-1).type ].join(":"));
if (
(this.ts.lookT(-1).data == ':') &&
//print( [this.ts.lookT(-3).type , this.ts.lookT(-2).type , this.ts.lookT(-1).type ].join(":"));
if (
(this.ts.lookT(-1).data == ':') &&
- (this.ts.lookT(-2).
nam
e == 'NAME') &&
+ (this.ts.lookT(-2).
typ
e == 'NAME') &&
(this.ts.lookT(-3).data == '(' || this.ts.lookT(-3).data== ',')
) {
//print("got for : function() {");
(this.ts.lookT(-3).data == '(' || this.ts.lookT(-3).data== ',')
) {
//print("got for : function() {");
@@
-571,7
+571,7
@@
Walker2 = XObject.define(
//$this$=foo
if (
//$this$=foo
if (
- (this.ts.lookT(1).
nam
e == 'NAME')
+ (this.ts.lookT(1).
typ
e == 'NAME')
) {
//scopeName = this.ts.look(-3).data;
this.ts.balanceN('(');
) {
//scopeName = this.ts.look(-3).data;
this.ts.balanceN('(');
@@
-634,9
+634,9
@@
Walker2 = XObject.define(
if (
if (
- (this.ts.lookT(-1).
tokN == Script.TOKassign
) &&
- (this.ts.lookT(-2).t
okN == Script.TOKidentifier
) &&
- (this.ts.lookT(-3).
tokN != Script.TOKvar
)
+ (this.ts.lookT(-1).
data == '='
) &&
+ (this.ts.lookT(-2).t
ype == 'NAME'
) &&
+ (this.ts.lookT(-3).
nane != 'VAR'
)
) {
scopeName = this.ts.look(-2).data;
) {
scopeName = this.ts.look(-2).data;
@@
-658,9
+658,9
@@
Walker2 = XObject.define(
//print("GOT LBRACE : check for :");
if (
//print("GOT LBRACE : check for :");
if (
- (this.ts.lookT(-1).
tokN == Script.TOKcolon
) &&
- (this.ts.lookT(-2).t
okN == Script.TOKidentifier
) &&
- (this.ts.lookT(-3).
tokN != Script.TOKvar
)
+ (this.ts.lookT(-1).
data == ':'
) &&
+ (this.ts.lookT(-2).t
ype == 'NAME'
) &&
+ (this.ts.lookT(-3).
name != 'VAR'
)
) {
scopeName = this.ts.lookT(-2).data;
) {
scopeName = this.ts.lookT(-2).data;
@@
-684,7
+684,7
@@
Walker2 = XObject.define(
continue;
}
continue;
}
- if (token.
tokN == Script.TOKrbrace
) {
+ if (token.
data == '{'
) {
if (this.currentDoc) {
if (this.currentDoc) {