src/jsdoc/DocParser.vala
authorAlan Knowles <alan@roojs.com>
Wed, 29 Mar 2017 08:43:26 +0000 (16:43 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Mar 2017 08:43:26 +0000 (16:43 +0800)
src/jsdoc/DocParser.vala

index 4fd24cb..cd8ec24 100644 (file)
@@ -5,12 +5,12 @@ namespace JSDOC
        public class DocParser : Object 
        {
                // options?
-               bool ignoreAnonymous =            true; 
-               bool treatUnderscoredAsPrivate = true;
-               bool explain=             false;
+               static bool ignoreAnonymous =            true; 
+               static bool treatUnderscoredAsPrivate = true;
+               static bool explain=             false;
  
                
-               bool has_init = false;
+               static bool has_init = false;
                static DocWalker walker ;
            static SymbolSet symbols ;
            
@@ -18,11 +18,7 @@ namespace JSDOC
     
            static Gee.HashMap<string,SymbolSet> filesSymbols;
                
-               public DocParser{) {
-                       //this.walker = new JSDOC.Walker();
-                   //JSDOC.Parser.filesSymbols = {};
-               }
-
+               // no CTOR.. it's mostly static!!
 
                private static void initStatic()
                {