JSDOC/TokenStream.vala
authorAlan Knowles <alan@roojs.com>
Wed, 30 Sep 2015 10:11:01 +0000 (18:11 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 30 Sep 2015 10:11:01 +0000 (18:11 +0800)
JSDOC/TokenStream.vala

index 7f2058e..10bde4b 100644 (file)
@@ -251,7 +251,7 @@ namespace JSDOC {
                    return new Gee.ArrayList<Token>();
                }
 
-               getMatchingToken : function(/**String*/start, /**String*/stop) {
+               public Token getMatchingToken(string start, string stop) {
                    var depth = 0;
                    var cursor = this.cursor;
                    
@@ -273,7 +273,7 @@ namespace JSDOC {
                        cursor++;
                    }
                    return false;
-               },
+               }
 
                insertAhead : function(/**JSDOC.Token*/token) {
                    this.tokens.splice(this.cursor+1, 0, token);