UNPKG

on-codemerge

Version:

A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product

16 lines (15 loc) 341 B
import { TokenType as n } from "../../../types.mjs"; const o = { name: "json", patterns: { [n.String]: /^"(?:\\.|[^"\\])*"/, [n.Number]: /^-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/, [n.Punctuation]: /^[{}\[\],:]/, [n.Boolean]: /^(?:true|false)\b/, [n.Null]: /^null\b/ }, keywords: [] }; export { o as jsonDefinition };