Code coverage report for lib/parser/cssErrors.js

# all files / lib/parser/ cssErrors.js

82.35% Statements 14/17
40% Branches 4/10
100% Functions 4/4
87.5% Lines 14/16

    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
    571×
    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    28×
    28×

    1×

    1×
    1×

     (function (factory) {
        Eif (typeof module === "object" && typeof module.exports === "object") {
            var v = factory(require, exports);
            Iif (v !== undefined) module.exports = v;
        }
        else if (typeof define === "function" && define.amd) {
            define(["require", "exports", "vscode-nls"], factory);
        }
    })(function (require, exports) {
        /*---------------------------------------------------------------------------------------------
         *  Copyright (c) Microsoft Corporation. All rights reserved.
         *  Licensed under the MIT License. See License.txt in the project root for license information.
         *--------------------------------------------------------------------------------------------*/
        'use strict';
        Object.defineProperty(exports, "__esModule", { value: true });
        var nls = require("vscode-nls");
        var localize = nls.loadMessageBundle();
        var CSSIssueType = (function () {
            function CSSIssueType(id, message) {
                this.id = id;
                this.message = message;
            }
            return CSSIssueType;
        }());
        exports.CSSIssueType = CSSIssueType;
        exports.ParseError = {
            NumberExpected: new CSSIssueType('css-numberexpected', localize('expected.number', "number expected")),
            ConditionExpected: new CSSIssueType('css-conditionexpected', localize('expected.condt', "condition expected")),
            RuleOrSelectorExpected: new CSSIssueType('css-ruleorselectorexpected', localize('expected.ruleorselector', "at-rule or selector expected")),
            DotExpected: new CSSIssueType('css-dotexpected', localize('expected.dot', "dot expected")),
            ColonExpected: new CSSIssueType('css-colonexpected', localize('expected.colon', "colon expected")),
            SemiColonExpected: new CSSIssueType('css-semicolonexpected', localize('expected.semicolon', "semi-colon expected")),
            TermExpected: new CSSIssueType('css-termexpected', localize('expected.term', "term expected")),
            ExpressionExpected: new CSSIssueType('css-expressionexpected', localize('expected.expression', "expression expected")),
            OperatorExpected: new CSSIssueType('css-operatorexpected', localize('expected.operator', "operator expected")),
            IdentifierExpected: new CSSIssueType('css-identifierexpected', localize('expected.ident', "identifier expected")),
            PercentageExpected: new CSSIssueType('css-percentageexpected', localize('expected.percentage', "percentage expected")),
            URIOrStringExpected: new CSSIssueType('css-uriorstringexpected', localize('expected.uriorstring', "uri or string expected")),
            URIExpected: new CSSIssueType('css-uriexpected', localize('expected.uri', "URI expected")),
            VariableNameExpected: new CSSIssueType('css-varnameexpected', localize('expected.varname', "variable name expected")),
            VariableValueExpected: new CSSIssueType('css-varvalueexpected', localize('expected.varvalue', "variable value expected")),
            PropertyValueExpected: new CSSIssueType('css-propertyvalueexpected', localize('expected.propvalue', "property value expected")),
            LeftCurlyExpected: new CSSIssueType('css-lcurlyexpected', localize('expected.lcurly', "{ expected")),
            RightCurlyExpected: new CSSIssueType('css-rcurlyexpected', localize('expected.rcurly', "} expected")),
            LeftSquareBracketExpected: new CSSIssueType('css-rbracketexpected', localize('expected.lsquare', "[ expected")),
            RightSquareBracketExpected: new CSSIssueType('css-lbracketexpected', localize('expected.rsquare', "] expected")),
            LeftParenthesisExpected: new CSSIssueType('css-lparentexpected', localize('expected.lparen', "( expected")),
            RightParenthesisExpected: new CSSIssueType('css-rparentexpected', localize('expected.rparent', ") expected")),
            CommaExpected: new CSSIssueType('css-commaexpected', localize('expected.comma', "comma expected")),
            PageDirectiveOrDeclarationExpected: new CSSIssueType('css-pagedirordeclexpected', localize('expected.pagedirordecl', "page directive or declaraton expected")),
            UnknownAtRule: new CSSIssueType('css-unknownatrule', localize('unknown.atrule', "at-rule unknown")),
            UnknownKeyword: new CSSIssueType('css-unknownkeyword', localize('unknown.keyword', "unknown keyword")),
            SelectorExpected: new CSSIssueType('css-selectorexpected', localize('expected.selector', "selector expected")),
            StringLiteralExpected: new CSSIssueType('css-stringliteralexpected', localize('expected.stringliteral', "string literal expected")),
        };
    });
    //# sourceMappingURL=cssErrors.js.map