protected override BasicObject calc() { if (Method == null) { return(Void.Value); } var thisScop = Method.This?.Calc() ?? VM.CurrentScop; return(call(thisScop.GetFunction(Method.Name), VM.GetCleanScop(thisScop), Params)); }
/// <param name="thisScop">Remarque : thisScop must be executed befor passing to function</param> public static BasicObject call(BasicObject thisScop, string fName, Expression[] Params) { thisScop = thisScop ?? VM.CurrentScop; return(call((thisScop).GetFunction(fName), VM.GetCleanScop(thisScop), Params)); }