CalcEngine constructor

CalcEngine(
  1. Worksheet parentObject
)

Create a new instance for CalcEngine.

Implementation

CalcEngine(Worksheet parentObject) {
  _grid = parentObject;
  _initLibraryFunctions();

  _tokens = <String>[
    _tokenAdd,
    _tokenSubtract,
    _tokenMultiply,
    _tokenDivide,
    _tokenLess,
    _tokenGreater,
    _tokenEqual,
    _tokenLesseq,
    _tokenGreaterEq,
    _tokenNoEqual,
    _tokenAnd,
    _tokenOr
  ];

  _dateTime1900Double = Range._toOADate(_dateTime1900);
}