From: Alan Knowles Date: Mon, 9 Nov 2015 10:04:33 +0000 (+0800) Subject: JSDOC/Token.vala X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=0c29937c55230b9bb5801bbf4ad7b1c2718c700b;ds=sidebyside JSDOC/Token.vala --- diff --git a/JSDOC/Token.vala b/JSDOC/Token.vala index 9b3f3d3..41c19d7 100644 --- a/JSDOC/Token.vala +++ b/JSDOC/Token.vala @@ -31,6 +31,20 @@ namespace JSDOC { int Token_id = 1; + + public class TokenKeyMap : Object { + public Token key; + public Gee.ArrayList vals; + + public TokenKeyMap() + { + this.key = new Token("","VOID", "VOID"); + this.vals = new Gee.ArrayList(); + } + + + } + public class Token : Object { int id; @@ -43,12 +57,12 @@ namespace JSDOC public string outData; - public string identifier; + public Token? identifier; // used to stuff tokens together when building a tree.. public Gee.ArrayList> items; // for a object definition, key -> array of tokens.. - public Gee.HashMap> props; + public Gee.HashMap props; // props??? what's this??? @@ -65,7 +79,7 @@ namespace JSDOC this.items = new Gee.ArrayList>(); - this.props = new Gee.HashMap>(); + this.props = new Gee.HashMap(); } public string asString()