X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FWalker2.js;h=fd730b2be7e355bc3e632712248bb6309c3627d1;hp=3d44c3465015e5df636df6619e5731be3621603f;hb=0ffd98bd2f45d842e82f28e550065a0cbb210f79;hpb=cf19a51fbc45888394a0854c4cc8abc5015c9063 diff --git a/JSDOC/Walker2.js b/JSDOC/Walker2.js index 3d44c34..fd730b2 100644 --- a/JSDOC/Walker2.js +++ b/JSDOC/Walker2.js @@ -250,11 +250,7 @@ Walker2 = XObject.define( if (token.type == 'NAME') { //print("TOK(ident)"+ token.toString()); - - - - - + if (/\.extend$/.test(token.data) && this.ts.lookTok(1).data == '(' && this.ts.lookTok(2).type == 'NAME' && @@ -442,6 +438,8 @@ Walker2 = XObject.define( if (((this.ts.lookTok(1).data == ':' )|| (this.ts.lookTok(1).data == '=')) && (this.ts.lookTok(2).name == "FUNCTION") ) { + this.ts.nextTok(); + this.ts.nextTok(); atype = 'FUNCTION'; } @@ -452,6 +450,9 @@ Walker2 = XObject.define( false, atype); + + + }