Exemplo n.º 1
0
 public void EvalAssignFromNestedNumeric(string rawValue, CommonFunctions.WarewolfEvalResult.WarewolfAtomListresult recsetResult, int update)
 {
     if (recsetResult.Item.Any())
     {
         AssignWithFrame(new AssignValue(rawValue, WarewolfAtomToString(recsetResult.Item.Last())), update);
     }
 }
Exemplo n.º 2
0
 void SetupListResult(CommonFunctions.WarewolfEvalResult warewolfEvalResult)
 {
     if (warewolfEvalResult.IsWarewolfAtomListresult && warewolfEvalResult is CommonFunctions.WarewolfEvalResult.WarewolfAtomListresult warewolfAtomListresult)
     {
         warewolfAtomListresult.Item.ResetCurrentEnumerator();
         _listResult = warewolfAtomListresult;
     }
 }
        public void EvalAssignFromNestedLast(string exp, CommonFunctions.WarewolfEvalResult.WarewolfAtomListresult recsetResult, int update)
        {
            var exists = PublicFunctions.RecordsetExpressionExists(exp, _env);

            if (!exists)
            {
                exp = ToStar(exp);
            }
            AssignWithFrameAndList(exp, recsetResult.Item, exists, update);
        }
Exemplo n.º 4
0
        public void EvalAssignFromNestedLast(string exp, CommonFunctions.WarewolfEvalResult.WarewolfAtomListresult recsetResult, int update)
        {
            var expression = exp;
            var exists     = PublicFunctions.RecordsetExpressionExists(expression, _env);

            if (!exists)
            {
                expression = ToStar(expression);
            }

            _env = PublicFunctions.EvalAssignFromList(expression, recsetResult.Item, _env, update, exists);
        }
Exemplo n.º 5
0
 public DebugItemWarewolfAtomListResult(CommonFunctions.WarewolfEvalResult.WarewolfAtomListresult warewolfAtomListresult, CommonFunctions.WarewolfEvalResult oldResult, string assignedToVariableName, string variable, string leftLabelText, string rightLabelText, string operand, bool isCalculate, bool mockSelected)
 {
     _labelText              = "";
     _operand                = operand;
     _isCalculate            = isCalculate;
     _variable               = variable;
     _type                   = DebugItemResultType.Variable;
     _rightLabel             = rightLabelText;
     _leftLabel              = leftLabelText;
     _warewolfAtomListresult = warewolfAtomListresult;
     _oldValue               = oldResult;
     _assignedToVariableName = assignedToVariableName;
     _mockSelected           = mockSelected;
 }
Exemplo n.º 6
0
 public void EvalAssignFromNestedNumeric(string rawValue, CommonFunctions.WarewolfEvalResult.WarewolfAtomListresult recsetResult, int update)
 {
     _inner.EvalAssignFromNestedNumeric(UpdateDataSourceWithIterativeValue(_datasource, update, rawValue), recsetResult, 0);
 }
Exemplo n.º 7
0
 public DebugItemWarewolfAtomListResult(CommonFunctions.WarewolfEvalResult.WarewolfAtomListresult warewolfAtomListresult, string newValue, string assignedToVariableName, string variable, string leftLabelText, string rightLabelText, string operand)
     : this(warewolfAtomListresult, newValue, assignedToVariableName, variable, leftLabelText, rightLabelText, operand, false, false)
 {
 }
Exemplo n.º 8
0
 public void EvalAssignFromNestedStar(string exp, CommonFunctions.WarewolfEvalResult.WarewolfAtomListresult recsetResult, int update)
 {
     _env = PublicFunctions.EvalAssignFromList(exp, recsetResult.Item, _env, update, false);
 }
Exemplo n.º 9
0
 public void EvalAssignFromNestedStar(string exp, CommonFunctions.WarewolfEvalResult.WarewolfAtomListresult recsetResult, int update)
 {
     AssignWithFrameAndList(exp, recsetResult.Item, false, update);
 }