Example #1
0
        public override Expr Simplify(VariableScope scope)
        {
            IBifoqlObject result;

            if (scope.TryGetValue(Name, out result))
            {
                return(new LiteralExpr(Location, result));
            }
            else
            {
                return(this);
            }
        }