From: Alan Knowles Date: Fri, 6 Nov 2015 08:18:37 +0000 (+0800) Subject: JSDOC/ScopeParser.vala X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=db092bdd54f475511de7ca5011f417b20740cf4c JSDOC/ScopeParser.vala --- diff --git a/JSDOC/ScopeParser.vala b/JSDOC/ScopeParser.vala index cbe46cd..c260b0d 100644 --- a/JSDOC/ScopeParser.vala +++ b/JSDOC/ScopeParser.vala @@ -5,12 +5,21 @@ namespace JSDOC { public class ScopeParser : Object { - + TokenStream ts; Gee.ArrayList warnings; bool debug = false; string[] idents; + + //global : false, + //mode : "", //"BUILDING_SYMBOL_TREE", + //braceNesting : 0, + //indexedScopes : false, + //munge: true, + + + public ScopeParser(TokenStream ts) { this.ts = ts; // {TokenStream} this.warnings = new Gee.ArrayList(); @@ -96,13 +105,7 @@ namespace JSDOC { // defaults should not be initialized here =- otherwise they get duped on new, rather than initalized.. - ts : false, - global : false, - mode : "", //"BUILDING_SYMBOL_TREE", - braceNesting : 0, - indexedScopes : false, - munge: true, - +