Esempio n. 1
0
        public override Value Execute(Args args, Environment environment, SourcePos pos)
        {
            if (args.Get(("s")).IsNode())
            {
                return(args.GetAsNode("s").GetValue().Evaluate(environment));
            }
            var node = Parser.Parse(args.GetString("s").GetValue(), pos.filename);

            return(node.Evaluate(environment));
        }