"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Evaluator = void 0;
var Evaluator;
(function (Evaluator) {
    Evaluator.FIRST_CHILD_EVALUATOR = {
        evaluate: (pn) => pn.evaluate(0)
    };
    Evaluator.ALL_CHILDREN_EVALUATOR = {
        evaluate: (pn) => {
            if (pn.getChildren().length === 0)
                return [];
            return pn.getChildren().map((p) => p.evaluate());
        }
    };
    Evaluator.DEFAULT_EVALUATOR = {
        evaluate: (pn) => pn.getParsedString()
    };
})(Evaluator || (exports.Evaluator = Evaluator = {}));
//# sourceMappingURL=Evaluator.js.map