Exemplo n.º 1
0
        public override InterpValue Interp(InterpEnvironment environment)
        {
            InterpValue last = new InterpValue();

            foreach (var val in Values)
            {
                last = val.Interp(environment);
            }

            return(last);
        }
Exemplo n.º 2
0
        public override InterpValue Interp(InterpEnvironment environment)
        {
            InterpValue val = null;

            var plat = Environment.OSVersion.Platform;

            if (plat == PlatformID.Unix)
            {
                val = Unix.Interp(environment);
            }
            else
            {
                val = Windows.Interp(environment);
            }

            return(val);
        }