X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FWalker2.js;h=136b048aaff4053534da77eced67d5bcf3c50623;hb=bc409f14cffa7c0e5f8c0cebc46ed161eda06a46;hp=13d622f4b3f3261fc00502943d2000b687c8b870;hpb=580ce7dfab73fae0fa87946459088d537fd20a8b;p=gnome.introspection-doc-generator diff --git a/JSDOC/Walker2.js b/JSDOC/Walker2.js index 13d622f..136b048 100644 --- a/JSDOC/Walker2.js +++ b/JSDOC/Walker2.js @@ -71,6 +71,7 @@ Walker2 = XObject.define( this.mode = 'BUILDING_SYMBOL_TREE'; this.parseScope(this.globalScope); + }, @@ -329,6 +330,7 @@ Walker2 = XObject.define( // apply ( XXXX, { + /* print(JSON.stringify([ token.data, this.ts.lookTok(1).data , @@ -336,7 +338,7 @@ Walker2 = XObject.define( this.ts.lookTok(3).data , this.ts.lookTok(4).data ], null, 4)); - + */ if (/\.(applyIf|apply)$/.test(token.data) && this.ts.lookTok(1).data == '(' && @@ -355,14 +357,13 @@ Walker2 = XObject.define( if (this.currentDoc) { this.addSymbol(scopeName,false,'OBJECT'); - } this.ts.nextTok(); /// , this.ts.nextTok(); // { - scopeName = fixAlias(scopeName); + scopeName = fixAlias(scopeName); var fnScope = new Scope(this.braceNesting, scope, token.n, scopeName); this.indexedScopes[this.ts.cursor] = fnScope; scope = fnScope; @@ -508,6 +509,7 @@ Walker2 = XObject.define( scopeName = fixAlias(scopeName); var fnScope = new Scope(this.braceNesting, scope, token.n, '$this$='+scopeName+'.prototype|$private$|'+scopeName+'.prototype'); + this.indexedScopes[this.ts.cursor] = fnScope; //scope = fnScope; //this.scopesIn(fnScope);