"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parserTokens = void 0;
const const_1 = require("../const.js");
const getAttrs = (tok) => (tok.attrs ? Object.fromEntries(tok.attrs) : {});
exports.parserTokens = {
    [const_1.CheckboxNode.Checkbox]: { name: const_1.CheckboxNode.Checkbox, type: 'block', getAttrs },
    [const_1.CheckboxNode.Input]: { name: const_1.CheckboxNode.Input, type: 'node', getAttrs },
    [const_1.CheckboxNode.Label]: { name: const_1.CheckboxNode.Label, type: 'block', getAttrs },
};
//# sourceMappingURL=parser.js.map
