JSDOC/Identifier.vala
authorAlan Knowles <alan@roojs.com>
Wed, 25 Nov 2015 08:43:08 +0000 (16:43 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 25 Nov 2015 08:43:08 +0000 (16:43 +0800)
JSDOC/Identifier.vala [new file with mode: 0644]

diff --git a/JSDOC/Identifier.vala b/JSDOC/Identifier.vala
new file mode 100644 (file)
index 0000000..efd113c
--- /dev/null
@@ -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?
+       
+               }
+       }
+       
+}
+