예제 #1
0
        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);
        }
예제 #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);
        }