all files / calculate/common/ enum.js

100% Statements 68/68
100% Branches 6/6
100% Functions 4/4
100% Lines 68/68
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74            
define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var CommonErrors;
    (function (CommonErrors) {
        CommonErrors[CommonErrors["NA"] = 0] = "NA";
        CommonErrors[CommonErrors["Value"] = 1] = "Value";
        CommonErrors[CommonErrors["Ref"] = 2] = "Ref";
        CommonErrors[CommonErrors["DivZero"] = 3] = "DivZero";
        CommonErrors[CommonErrors["Num"] = 4] = "Num";
        CommonErrors[CommonErrors["Name"] = 5] = "Name";
        CommonErrors[CommonErrors["Null"] = 6] = "Null";
        CommonErrors[CommonErrors["Calc"] = 7] = "Calc";
    })(CommonErrors = exports.CommonErrors || (exports.CommonErrors = {}));
    var FormulasErrorsStrings;
    (function (FormulasErrorsStrings) {
        FormulasErrorsStrings[FormulasErrorsStrings["OperatorsCannotStartWithExpression"] = 0] = "OperatorsCannotStartWithExpression";
        FormulasErrorsStrings[FormulasErrorsStrings["ReservedWordAND"] = 1] = "ReservedWordAND";
        FormulasErrorsStrings[FormulasErrorsStrings["ReservedWordXOR"] = 2] = "ReservedWordXOR";
        FormulasErrorsStrings[FormulasErrorsStrings["ReservedWordIf"] = 3] = "ReservedWordIf";
        FormulasErrorsStrings[FormulasErrorsStrings["NumberContains2DecimalPoints"] = 4] = "NumberContains2DecimalPoints";
        FormulasErrorsStrings[FormulasErrorsStrings["ReservedWordElse"] = 5] = "ReservedWordElse";
        FormulasErrorsStrings[FormulasErrorsStrings["ReservedWordNOT"] = 6] = "ReservedWordNOT";
        FormulasErrorsStrings[FormulasErrorsStrings["InvalidCharInNumber"] = 7] = "InvalidCharInNumber";
        FormulasErrorsStrings[FormulasErrorsStrings["InvalidCharactersFollowingWithOperator"] = 6] = "InvalidCharactersFollowingWithOperator";
        FormulasErrorsStrings[FormulasErrorsStrings["MismatchedParentheses"] = 8] = "MismatchedParentheses";
        FormulasErrorsStrings[FormulasErrorsStrings["UnknownFormulaName"] = 9] = "UnknownFormulaName";
        FormulasErrorsStrings[FormulasErrorsStrings["RequiresASingleArgument"] = 10] = "RequiresASingleArgument";
        FormulasErrorsStrings[FormulasErrorsStrings["Requires3Args"] = 11] = "Requires3Args";
        FormulasErrorsStrings[FormulasErrorsStrings["InvalidMathArgument"] = 12] = "InvalidMathArgument";
        FormulasErrorsStrings[FormulasErrorsStrings["Requires2Args"] = 13] = "Requires2Args";
        FormulasErrorsStrings[FormulasErrorsStrings["BadIndex"] = 14] = "BadIndex";
        FormulasErrorsStrings[FormulasErrorsStrings["TooComplex"] = 15] = "TooComplex";
        FormulasErrorsStrings[FormulasErrorsStrings["CircularReference"] = 16] = "CircularReference";
        FormulasErrorsStrings[FormulasErrorsStrings["MissingFormula"] = 17] = "MissingFormula";
        FormulasErrorsStrings[FormulasErrorsStrings["ImproperFormula"] = 18] = "ImproperFormula";
        FormulasErrorsStrings[FormulasErrorsStrings["InvalidExpression"] = 19] = "InvalidExpression";
        FormulasErrorsStrings[FormulasErrorsStrings["CellEmpty"] = 20] = "CellEmpty";
        FormulasErrorsStrings[FormulasErrorsStrings["BadFormula"] = 21] = "BadFormula";
        FormulasErrorsStrings[FormulasErrorsStrings["EmptyExpression"] = 22] = "EmptyExpression";
        FormulasErrorsStrings[FormulasErrorsStrings["VirtualModeRequired"] = 23] = "VirtualModeRequired";
        FormulasErrorsStrings[FormulasErrorsStrings["MismatchedTics"] = 24] = "MismatchedTics";
        FormulasErrorsStrings[FormulasErrorsStrings["WrongNumberArguments"] = 25] = "WrongNumberArguments";
        FormulasErrorsStrings[FormulasErrorsStrings["InvalidArguments"] = 26] = "InvalidArguments";
        FormulasErrorsStrings[FormulasErrorsStrings["IterationsDoNotConverge"] = 27] = "IterationsDoNotConverge";
        FormulasErrorsStrings[FormulasErrorsStrings["CalculationOverflow"] = 29] = "CalculationOverflow";
        FormulasErrorsStrings[FormulasErrorsStrings["AlreadyRegistered"] = 28] = "AlreadyRegistered";
        FormulasErrorsStrings[FormulasErrorsStrings["MissingSheet"] = 30] = "MissingSheet";
        FormulasErrorsStrings[FormulasErrorsStrings["CannotParse"] = 31] = "CannotParse";
        FormulasErrorsStrings[FormulasErrorsStrings["ExpressionCannotEndWithAnOperator"] = 32] = "ExpressionCannotEndWithAnOperator";
        FormulasErrorsStrings[FormulasErrorsStrings["Spill"] = 33] = "Spill";
        FormulasErrorsStrings[FormulasErrorsStrings["Div"] = 34] = "Div";
    })(FormulasErrorsStrings = exports.FormulasErrorsStrings || (exports.FormulasErrorsStrings = {}));
    var ExcelFileFormats;
    (function (ExcelFileFormats) {
        ExcelFileFormats["xlsx"] = "xlsx";
        ExcelFileFormats["xlsm"] = "xlsm";
        ExcelFileFormats["xlsb"] = "xlsb";
        ExcelFileFormats["xltx"] = "xltx";
        ExcelFileFormats["xltm"] = "xltm";
        ExcelFileFormats["xls"] = "xls";
        ExcelFileFormats["xml"] = "xml";
        ExcelFileFormats["xlam"] = "xlam";
        ExcelFileFormats["xla"] = "xla";
        ExcelFileFormats["xlw"] = "xlw";
        ExcelFileFormats["xlr"] = "xlr";
        ExcelFileFormats["prn"] = "prn";
        ExcelFileFormats["txt"] = "txt";
        ExcelFileFormats["csv"] = "csv";
        ExcelFileFormats["dif"] = "dif";
        ExcelFileFormats["slk"] = "slk";
    })(ExcelFileFormats = exports.ExcelFileFormats || (exports.ExcelFileFormats = {}));
});