X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FTokenStream.vala;h=6c6f8adc087eb3b5bedfba16f74803eb2f658328;hb=4874ad3e1d08502e88986231f3de271795ca2302;hp=b9291a7649feb63953e2d246ab1eed79ca29c708;hpb=7fb09d0c3ef6ead592966135c860de5fcd4fac47;p=gnome.introspection-doc-generator diff --git a/JSDOC/TokenStream.vala b/JSDOC/TokenStream.vala index b9291a7..6c6f8ad 100644 --- a/JSDOC/TokenStream.vala +++ b/JSDOC/TokenStream.vala @@ -28,7 +28,10 @@ namespace JSDOC { this.rewind(); } - + public Gee.ArrayList toArray() + { + return this.tokens; + } public void rewind() { @@ -233,6 +236,7 @@ namespace JSDOC { Token token; while (null != (token = this.look(1,false))) { + debug("BALANCE: " + token.asString()); if (token.is(start)) { // Seed.print("balance: START : " + depth + " " + token.data); depth++;