Esempio n. 1
0
        public override void Execute(NetStack stack)
        {
            Statement functionBody;
            try
            {
                functionBody = stack.GetFunction(label);
            }
            catch (KeyNotFoundException)
            {
                throw new RuntimeBinderException(string.Format("Failed to call function (no binding for \"{0}\" exists).", label));
            }

            functionBody.Evaluate(stack);
        }