'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var getSymbolsInPatternWithPosition = require('../getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js');

const getCountOfSymbolsInSelection = (selectionStart, selectionEnd, pattern) => getSymbolsInPatternWithPosition.default(pattern).filter(symbol => symbol.index >= selectionStart && symbol.index < selectionEnd).length;

exports.default = getCountOfSymbolsInSelection;
//# sourceMappingURL=getCountOfSymbolsInSelection.js.map
