コード例 #1
0
ファイル: Env.cs プロジェクト: JammyITA/APFebAss
        public bool get(Token t)
        {
            //dump("Searching " + t.ToString());
            for (Env e = this; e != null; e = e.prev)
            {
                if (e.table.Contains(t))
                    return (bool)e.table[t];
            }

            dump("Error: bind for " + t.ToString() + " not found");
            throw new BindNotFoundException("Error: bind for " + t.ToString() + " not found");
        }