all files / TypeScript.NET/source/System/Collections/Enumeration/ EmptyEnumerator.js

76.92% Statements 10/13
40% Branches 4/10
100% Functions 2/2
81.82% Lines 9/11
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                                         
/*!
 * @author electricessence / https://github.com/electricessence/
 * Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
 */
(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", "./IteratorResult", "../../Functions"], factory);
    }
})(function (require, exports) {
    "use strict";
    var IteratorResult_1 = require("./IteratorResult");
    var Functions_1 = require("../../Functions");
    var VOID0 = void 0;
    exports.EmptyEnumerator = Object.freeze({
        current: VOID0,
        moveNext: Functions_1.Functions.False,
        nextValue: Functions_1.Functions.Blank,
        next: IteratorResult_1.IteratorResult.GetDone,
        "return": IteratorResult_1.IteratorResult.GetDone,
        reset: Functions_1.Functions.Blank,
        dispose: Functions_1.Functions.Blank,
        isEndless: false
    });
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.default = exports.EmptyEnumerator;
});
//# sourceMappingURL=EmptyEnumerator.js.map