// Default constructor
 public VarTableEntry()
 {
     varID    = 0;
     varEntry = null;
     offset   = -1;
     inUse    = true;
 }
 // Set constructor
 public VarTableEntry(int varID, SymbolTableEntry varEntry)
 {
     this.varID    = varID;
     this.varEntry = varEntry;
     this.offset   = -1;
     this.inUse    = true;
 }
        // Creates a var table entry based on symbol table entry,
        // and calculates current in use off set (position).
        //
        // Returns: New entry created.
        public VarTableEntry CreateVarTableEntry(SymbolTableEntry entry)
        {
            // Inits
            VarTableEntry varEntry = new VarTableEntry(entry.EntryID, entry);

            // Set off set
            varEntry.Offset = FindNextAvaialbleOffset();

            // Add to table
            varTable.Add(varEntry);

            // Return entry
            return(varEntry);
        }
 // Default constructor. Inits values
 public IDASTNode()
     : base(ASTNodeType.ASTTYPE_ID)
 {
     value     = ' ';
     symbEntry = null;
 }