From 85d82bcb3f5127aa4475508d1525a30db8693163 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 25 Nov 2015 16:43:08 +0800 Subject: [PATCH] JSDOC/Identifier.vala --- JSDOC/Identifier.vala | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 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? + + } + } + +} + + -- 2.39.2