public override EntityLocation Put(string key) { EntityLocation entityLocation = this.OuterSymbolTable.Put(key); if (entityLocation.Nest >= 0) { entityLocation.Nest++; } return(entityLocation); }
public virtual EntityLocation Put(string key) { EntityLocation entityLocation = this.GetEntityLocation(key, 0); if (entityLocation == null) { return(new EntityLocation(0, this.Add(key))); } else { return(entityLocation); } }