Esempio n. 1
0
        public void setVal(string id, SExpression val)
        {
            if (store.Keys.Contains(id))
            {
                store[id] = val;
            }

            if (parent == null)
            {
                throw new Exception(String.Format("ID {0} does not exist", id));
            }

            parent.setVal(id, val);
        }