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

index cfbe82f..13cdf79 100644 (file)
@@ -556,29 +556,27 @@ namespace JSDOC {
 
 
     
-    parseExpression : function(scope) {
+    void parseExpression(Scope scope) 
+    {
 
         // Parse the expression until we encounter a comma or a semi-colon
         // in the same brace nesting, bracket nesting and paren nesting.
         // Parse functions if any...
         //println("<i>EXP</i><BR/>");
-        !this.debug || print("PARSE EXPR");
+        //!this.debug || print("PARSE EXPR");
         this.expN++;
          
         // for printing stuff..
        
         
         
-        var symbol;
-        var token;
-        
-        var identifier;
 
         var expressionBraceNesting = this.braceNesting + 0;
         var bracketNesting = 0;
         var parensNesting = 0;
         var isInObjectLitAr;
-        var isObjectLitAr = [ false ];
+        var isObjectLitAr = new Gee.ArrayList<boolean>();
+        isObjectLitAr.add( false);