MCPcopy Create free account
hub / github.com/TruthHun/BookStack / createInfixRule

Function createInfixRule

static/word2md/mammoth.browser.js:14945–14950  ·  view source on GitHub ↗
(infixRuleBuilder)

Source from the content-addressed store, hash-verified

14943 var prefixRule = rules.firstOf(name, prefixRules);
14944
14945 function createInfixRule(infixRuleBuilder) {
14946 return {
14947 name: infixRuleBuilder.name,
14948 rule: lazyRule(infixRuleBuilder.ruleBuilder.bind(null, self))
14949 };
14950 }
14951
14952 function rule() {
14953 return createRule(infixRules);

Callers

nothing calls this directly

Calls 1

lazyRuleFunction · 0.70

Tested by

no test coverage detected