public TypedValue Check(CellOperationValue actualValue, Tree <Cell> expectedCell)
        {
            var value = actualValue.GetActual(Processor);

            Processor.Get <Symbols>().Save(expectedCell.Value.Text.Substring(2), value);

            expectedCell.Value.SetAttribute(CellAttribute.InformationSuffix, value == null ? "null" : value.ToString());
            return(TypedValue.Void);
        }
Exemple #2
0
        public TypedValue Check(CellOperationValue actualValue, Tree <Cell> expectedCell)
        {
            var value  = actualValue.GetActual(Processor);
            var symbol = new Symbol(expectedCell.Value.Text.Substring(2), value);

            Processor.Store(symbol);

            expectedCell.Value.AddToAttribute(CellAttribute.InformationSuffix, value == null ? "null" : value.ToString());
            return(TypedValue.Void);
        }