From: Alan Knowles Date: Wed, 25 Nov 2015 08:43:08 +0000 (+0800) Subject: JSDOC/Identifier.vala X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=85d82bcb3f5127aa4475508d1525a30db8693163 JSDOC/Identifier.vala --- diff --git a/JSDOC/Identifier.vala b/JSDOC/Identifier.vala new file mode 100644 index 0000000..efd113c --- /dev/null +++ b/JSDOC/Identifier.vala @@ -0,0 +1,35 @@ + + +/** + * @class Identifier + * holds details about identifiers and their replacement values + * used by the packer.. + * + */ + +namespace JSDOC +{ + public class Identifier : Object + { + + public string name; + public int refcount = 1; // used? + public string mungedValue = ""; // should be at least 1?!?! + public Scope scope ; // script of fn scope.. + public bool toMunge = true; + + + + public Identifier(string name, Scope scope) { + // print("NEW IDENT: " + name); + this.name = name; + this.scope = scope; + this.mungedValue = ""; + // this.identifiers = {}; <<< used where? + + } + } + +} + +