JSDOC/ScopeParser.vala
authorAlan Knowles <alan@roojs.com>
Fri, 6 Nov 2015 08:18:37 +0000 (16:18 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 6 Nov 2015 08:18:37 +0000 (16:18 +0800)
JSDOC/ScopeParser.vala

index cbe46cd..c260b0d 100644 (file)
@@ -5,12 +5,21 @@ namespace JSDOC {
 
        public class ScopeParser : Object {
        
-       
+       TokenStream ts;
        Gee.ArrayList<string> 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<string>();
@@ -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,
-
+