UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

18 lines (17 loc) 447 B
import { a as languages } from "../../core-8vQkh0Rd.js"; //#region src/prism/languages/bnf.js languages.rbnf = languages.bnf = { "string": /"[^\n"]*"|'[^\n']*'/, "definition": { pattern: /<[^<>\n ]+>(?=\s*::=)/, alias: "rule keyword", inside: { "punctuation": /^<|>$/ } }, "rule": { pattern: /<[^<>\n ]+>/, inside: { "punctuation": /^<|>$/ } }, "operator": /::=|[|()[\]{}*+?]|\.{3}/ }; //#endregion //# sourceMappingURL=bnf.js.map