continue;
}
- // including ... aaa = new BBB({
-
- if (token.data == 'new' && this.lookTok(-1).data == '=' && this.lookTok(-2).is('NAME')) {
-
-
-
- }
symbol._token = this.lookTok(-2);
this.addSymbol(symbol, jd.jsdoc);
- continue;
+
+ }
+ // including ... aaa = new BBB({
+
+ if (token.data == 'new' && this.lookTok(-1).data == '=' && this.lookTok(-2).is('NAME')) {
+ var mname = this.lookTok(1).data;
+ var args = this.lookTok(2).items;
+
+ if (args[0].data == '{') {
+ // have a go at applying the properties..
+
+ }
+
+
}
-
+ continue;
}