diff options
Diffstat (limited to 'js/highlight/c-like.js.map')
-rw-r--r-- | js/highlight/c-like.js.map | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/highlight/c-like.js.map b/js/highlight/c-like.js.map index fc8ba8d8c..6243e9370 100644 --- a/js/highlight/c-like.js.map +++ b/js/highlight/c-like.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///text/node_modules/highlight.js/lib/languages/c-like.js"],"names":["optional","re","concat","args","map","x","source","join","module","exports","hljs","lang","C_LINE_COMMENT_MODE","COMMENT","contains","begin","DECLTYPE_AUTO_RE","NAMESPACE_RE","FUNCTION_TYPE_RE","CPP_PRIMITIVE_TYPES","className","STRINGS","variants","end","illegal","BACKSLASH_ESCAPE","END_SAME_AS_BEGIN","NUMBERS","relevance","PREPROCESSOR","keywords","inherit","C_BLOCK_COMMENT_MODE","TITLE_MODE","IDENT_RE","FUNCTION_TITLE","CPP_KEYWORDS","keyword","built_in","_relevance_hints","literal","FUNCTION_DISPATCH","EXPRESSION_CONTAINS","EXPRESSION_CONTEXT","beginKeywords","FUNCTION_DECLARATION","returnBegin","excludeEnd","endsWithParent","name","aliases","classNameAliases","preprocessor","strings","cPlusPlus","disableAutodetect","getLanguage","push"],"mappings":"wFA4BA,SAASA,EAASC,GAChB,OAAOC,EAAO,IAAKD,EAAI,MAOzB,SAASC,KAAUC,GAEjB,OADeA,EAAKC,KAAKC,IAAMC,OA5BjBL,EA4BwBI,GA1BpB,iBAAPJ,EAAwBA,EAE5BA,EAAGK,OAHM,KADlB,IAAgBL,KA4B4BM,KAAK,IA+cjDC,EAAOC,QA9BP,SAAeC,GACb,MAAMC,EAvaR,SAAmBD,GAIjB,MAAME,EAAsBF,EAAKG,QAAQ,KAAM,IAAK,CAClDC,SAAU,CACR,CACEC,MAAO,WAIPC,EAAmB,qBACnBC,EAAe,kBAEfC,EAAmB,uBAEvBlB,EAASiB,GACT,gBAAkBjB,EAJS,YAK7B,IACMmB,EAAsB,CAC1BC,UAAW,UACXL,MAAO,sBAMHM,EAAU,CACdD,UAAW,SACXE,SAAU,CACR,CACEP,MAAO,cACPQ,IAAK,IACLC,QAAS,MACTV,SAAU,CAAEJ,EAAKe,mBAEnB,CACEV,MAAO,sEACPQ,IAAK,IACLC,QAAS,KAEXd,EAAKgB,kBAAkB,CACrBX,MAAO,mCACPQ,IAAK,0BAKLI,EAAU,CACdP,UAAW,SACXE,SAAU,CACR,CACEP,MAAO,iBAET,CACEA,MAAO,yFAET,CACEA,MAAO,wFAGXa,UAAW,GAGPC,EAAe,CACnBT,UAAW,OACXL,MAAO,eACPQ,IAAK,IACLO,SAAU,CACR,eACE,0FAGJhB,SAAU,CACR,CACEC,MAAO,OACPa,UAAW,GAEblB,EAAKqB,QAAQV,EAAS,CACpBD,UAAW,gBAEb,CACEA,UAAW,cACXL,MAAO,SAETH,EACAF,EAAKsB,uBAIHC,EAAa,CACjBb,UAAW,QACXL,MAAOf,EAASiB,GAAgBP,EAAKwB,SACrCN,UAAW,GAGPO,EAAiBnC,EAASiB,GAAgBP,EAAKwB,SAAW,UAsH1DE,EAAe,CACnBC,QAAS,y0BAYTC,SAAU,4BACVC,iBAlIuB,CACvB,OACA,QACA,OACA,SACA,OACA,OACA,MACA,OACA,MACA,OACA,QACA,OACA,UACA,QACA,OACA,QACA,WACA,QACA,OACA,QACA,QACA,SACA,MACA,MACA,OACA,SACA,WACA,WACA,gBACA,SACA,SACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WACA,UACA,UACA,OACA,QACA,QACA,MACA,SACA,UACA,SACA,SACA,SACA,SACA,OACA,MACA,SACA,UACA,OACA,QACA,OACA,MACA,WACA,UACA,OACA,SACA,SACA,SACA,SACA,SACA,UACA,SACA,UACA,UACA,UACA,UACA,UACA,SACA,SACA,OACA,MACA,gBACA,qBACA,qBACA,iBACA,YACA,QACA,aACA,QACA,YACA,MACA,OACA,WACA,UACA,WACA,OACA,mBACA,aACA,UACA,YACA,MACA,SACA,UACA,MAC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M,MACNC,QAAS,CACP,KACA,MACA,MACA,MACA,KACA,MACA,OAEFpB,SAAUM,EACVZ,QAAS,KACT2B,iBAAkB,CAChB,oBAAqB,YAEvBrC,SAAU,GAAGZ,OACXyC,EACAE,EACAJ,EACAC,EACA,CACEb,EACA,CACEd,MAAO,uKACPQ,IAAK,IACLO,SAAUM,EACVtB,SAAU,CACR,OACAK,IAGJ,CACEJ,MAAOL,EAAKwB,SAAW,KACvBJ,SAAUM,GAEZ,CACEhB,UAAW,QACXwB,cAAe,0BACfrB,IAAK,WACLT,SAAU,CACR,CACE8B,cAAe,sBAEjBlC,EAAKuB,eAIbxB,QAAS,CACP2C,aAAcvB,EACdwB,QAAShC,EACTS,SAAUM,IAaDkB,CAAU5C,GA0BvB,OATAC,EAAK4C,mBAAoB,EACzB5C,EAAKuC,QAAU,GAEVxC,EAAK8C,YAAY,MAAM7C,EAAKuC,QAAQO,KAjBvC,IACA,KAiBG/C,EAAK8C,YAAY,QAAQ7C,EAAKuC,QAAQO,KAbzC,KACA,MACA,MACA,MACA,KACA,MACA,OAYK9C","file":"highlight/c-like.js?v=18a1d8ad3a8fb0d32993","sourcesContent":["/**\n * @param {string} value\n * @returns {RegExp}\n * */\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction source(re) {\n if (!re) return null;\n if (typeof re === \"string\") return re;\n\n return re.source;\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction lookahead(re) {\n return concat('(?=', re, ')');\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction optional(re) {\n return concat('(', re, ')?');\n}\n\n/**\n * @param {...(RegExp | string) } args\n * @returns {string}\n */\nfunction concat(...args) {\n const joined = args.map((x) => source(x)).join(\"\");\n return joined;\n}\n\n/*\nLanguage: C++\nCategory: common, system\nWebsite: https://isocpp.org\n*/\n\n/** @type LanguageFn */\nfunction cPlusPlus(hljs) {\n // added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does\n // not include such support nor can we be sure all the grammars depending\n // on it would desire this behavior\n const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', {\n contains: [\n {\n begin: /\\\\\\n/\n }\n ]\n });\n const DECLTYPE_AUTO_RE = 'decltype\\\\(auto\\\\)';\n const NAMESPACE_RE = '[a-zA-Z_]\\\\w*::';\n const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';\n const FUNCTION_TYPE_RE = '(' +\n DECLTYPE_AUTO_RE + '|' +\n optional(NAMESPACE_RE) +\n '[a-zA-Z_]\\\\w*' + optional(TEMPLATE_ARGUMENT_RE) +\n ')';\n const CPP_PRIMITIVE_TYPES = {\n className: 'keyword',\n begin: '\\\\b[a-z\\\\d_]*_t\\\\b'\n };\n\n // https://en.cppreference.com/w/cpp/language/escape\n // \\\\ \\x \\xFF \\u2837 \\u00323747 \\374\n const CHARACTER_ESCAPES = '\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)';\n const STRINGS = {\n className: 'string',\n variants: [\n {\n begin: '(u8?|U|L)?\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '(u8?|U|L)?\\'(' + CHARACTER_ESCAPES + \"|.)\",\n end: '\\'',\n illegal: '.'\n },\n hljs.END_SAME_AS_BEGIN({\n begin: /(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,\n end: /\\)([^()\\\\ ]{0,16})\"/\n })\n ]\n };\n\n const NUMBERS = {\n className: 'number',\n variants: [\n {\n begin: '\\\\b(0b[01\\']+)'\n },\n {\n begin: '(-?)\\\\b([\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)'\n },\n {\n begin: '(-?)(\\\\b0[xX][a-fA-F0-9\\']+|(\\\\b[\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)([eE][-+]?[\\\\d\\']+)?)'\n }\n ],\n relevance: 0\n };\n\n const PREPROCESSOR = {\n className: 'meta',\n begin: /#\\s*[a-z]+\\b/,\n end: /$/,\n keywords: {\n 'meta-keyword':\n 'if else elif endif define undef warning error line ' +\n 'pragma _Pragma ifdef ifndef include'\n },\n contains: [\n {\n begin: /\\\\\\n/,\n relevance: 0\n },\n hljs.inherit(STRINGS, {\n className: 'meta-string'\n }),\n {\n className: 'meta-string',\n begin: /<.*?>/\n },\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n };\n\n const TITLE_MODE = {\n className: 'title',\n begin: optional(NAMESPACE_RE) + hljs.IDENT_RE,\n relevance: 0\n };\n\n const FUNCTION_TITLE = optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\\\s*\\\\(';\n\n const COMMON_CPP_HINTS = [\n 'asin',\n 'atan2',\n 'atan',\n 'calloc',\n 'ceil',\n 'cosh',\n 'cos',\n 'exit',\n 'exp',\n 'fabs',\n 'floor',\n 'fmod',\n 'fprintf',\n 'fputs',\n 'free',\n 'frexp',\n 'auto_ptr',\n 'deque',\n 'list',\n 'queue',\n 'stack',\n 'vector',\n 'map',\n 'set',\n 'pair',\n 'bitset',\n 'multiset',\n 'multimap',\n 'unordered_set',\n 'fscanf',\n 'future',\n 'isalnum',\n 'isalpha',\n 'iscntrl',\n 'isdigit',\n 'isgraph',\n 'islower',\n 'isprint',\n 'ispunct',\n 'isspace',\n 'isupper',\n 'isxdigit',\n 'tolower',\n 'toupper',\n 'labs',\n 'ldexp',\n 'log10',\n 'log',\n 'malloc',\n 'realloc',\n 'memchr',\n 'memcmp',\n 'memcpy',\n 'memset',\n 'modf',\n 'pow',\n 'printf',\n 'putchar',\n 'puts',\n 'scanf',\n 'sinh',\n 'sin',\n 'snprintf',\n 'sprintf',\n 'sqrt',\n 'sscanf',\n 'strcat',\n 'strchr',\n 'strcmp',\n 'strcpy',\n 'strcspn',\n 'strlen',\n 'strncat',\n 'strncmp',\n 'strncpy',\n 'strpbrk',\n 'strrchr',\n 'strspn',\n 'strstr',\n 'tanh',\n 'tan',\n 'unordered_map',\n 'unordered_multiset',\n 'unordered_multimap',\n 'priority_queue',\n 'make_pair',\n 'array',\n 'shared_ptr',\n 'abort',\n 'terminate',\n 'abs',\n 'acos',\n 'vfprintf',\n 'vprintf',\n 'vsprintf',\n 'endl',\n 'initializer_list',\n 'unique_ptr',\n 'complex',\n 'imaginary',\n 'std',\n 'string',\n 'wstring',\n 'cin',\n 'cout',\n 'cerr',\n 'clog',\n 'stdin',\n 'stdout',\n 'stderr',\n 'stringstream',\n 'istringstream',\n 'ostringstream'\n ];\n\n const CPP_KEYWORDS = {\n keyword: 'int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof ' +\n 'dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace ' +\n 'unsigned long volatile static protected bool template mutable if public friend ' +\n 'do goto auto void enum else break extern using asm case typeid wchar_t ' +\n 'short reinterpret_cast|10 default double register explicit signed typename try this ' +\n 'switch continue inline delete alignas alignof constexpr consteval constinit decltype ' +\n 'concept co_await co_return co_yield requires ' +\n 'noexcept static_assert thread_local restrict final override ' +\n 'atomic_bool atomic_char atomic_schar ' +\n 'atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong ' +\n 'atomic_ullong new throw return ' +\n 'and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq',\n built_in: '_Bool _Complex _Imaginary',\n _relevance_hints: COMMON_CPP_HINTS,\n literal: 'true false nullptr NULL'\n };\n\n const FUNCTION_DISPATCH = {\n className: \"function.dispatch\",\n relevance: 0,\n keywords: CPP_KEYWORDS,\n begin: concat(\n /\\b/,\n /(?!decltype)/,\n /(?!if)/,\n /(?!for)/,\n /(?!while)/,\n hljs.IDENT_RE,\n lookahead(/\\s*\\(/))\n };\n\n const EXPRESSION_CONTAINS = [\n FUNCTION_DISPATCH,\n PREPROCESSOR,\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBERS,\n STRINGS\n ];\n\n\n const EXPRESSION_CONTEXT = {\n // This mode covers expression context where we can't expect a function\n // definition and shouldn't highlight anything that looks like one:\n // `return some()`, `else if()`, `(x*sum(1, 2))`\n variants: [\n {\n begin: /=/,\n end: /;/\n },\n {\n begin: /\\(/,\n end: /\\)/\n },\n {\n beginKeywords: 'new throw return else',\n end: /;/\n }\n ],\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([ 'self' ]),\n relevance: 0\n }\n ]),\n relevance: 0\n };\n\n const FUNCTION_DECLARATION = {\n className: 'function',\n begin: '(' + FUNCTION_TYPE_RE + '[\\\\*&\\\\s]+)+' + FUNCTION_TITLE,\n returnBegin: true,\n end: /[{;=]/,\n excludeEnd: true,\n keywords: CPP_KEYWORDS,\n illegal: /[^\\w\\s\\*&:<>.]/,\n contains: [\n { // to prevent it from being confused as the function title\n begin: DECLTYPE_AUTO_RE,\n keywords: CPP_KEYWORDS,\n relevance: 0\n },\n {\n begin: FUNCTION_TITLE,\n returnBegin: true,\n contains: [ TITLE_MODE ],\n relevance: 0\n },\n // needed because we do not have look-behind on the below rule\n // to prevent it from grabbing the final : in a :: pair\n {\n begin: /::/,\n relevance: 0\n },\n // initializers\n {\n begin: /:/,\n endsWithParent: true,\n contains: [\n STRINGS,\n NUMBERS\n ]\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES,\n // Count matching parentheses.\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n 'self',\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES\n ]\n }\n ]\n },\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n PREPROCESSOR\n ]\n };\n\n return {\n name: 'C++',\n aliases: [\n 'cc',\n 'c++',\n 'h++',\n 'hpp',\n 'hh',\n 'hxx',\n 'cxx'\n ],\n keywords: CPP_KEYWORDS,\n illegal: '</',\n classNameAliases: {\n \"function.dispatch\": \"built_in\"\n },\n contains: [].concat(\n EXPRESSION_CONTEXT,\n FUNCTION_DECLARATION,\n FUNCTION_DISPATCH,\n EXPRESSION_CONTAINS,\n [\n PREPROCESSOR,\n { // containers: ie, `vector <int> rooms (9);`\n begin: '\\\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\\\s*<',\n end: '>',\n keywords: CPP_KEYWORDS,\n contains: [\n 'self',\n CPP_PRIMITIVE_TYPES\n ]\n },\n {\n begin: hljs.IDENT_RE + '::',\n keywords: CPP_KEYWORDS\n },\n {\n className: 'class',\n beginKeywords: 'enum class struct union',\n end: /[{;:<>=]/,\n contains: [\n {\n beginKeywords: \"final class struct\"\n },\n hljs.TITLE_MODE\n ]\n }\n ]),\n exports: {\n preprocessor: PREPROCESSOR,\n strings: STRINGS,\n keywords: CPP_KEYWORDS\n }\n };\n}\n\n/*\nLanguage: C-like (deprecated, use C and C++ instead)\nAuthor: Ivan Sagalaev <maniac@softwaremaniacs.org>\nContributors: Evgeny Stepanischev <imbolk@gmail.com>, Zaven Muradyan <megalivoithos@gmail.com>, Roel Deckers <admin@codingcat.nl>, Sam Wu <samsam2310@gmail.com>, Jordi Petit <jordi.petit@gmail.com>, Pieter Vantorre <pietervantorre@gmail.com>, Google Inc. (David Benjamin) <davidben@google.com>\n*/\n\n/** @type LanguageFn */\nfunction cLike(hljs) {\n const lang = cPlusPlus(hljs);\n\n const C_ALIASES = [\n \"c\",\n \"h\"\n ];\n\n const CPP_ALIASES = [\n 'cc',\n 'c++',\n 'h++',\n 'hpp',\n 'hh',\n 'hxx',\n 'cxx'\n ];\n\n lang.disableAutodetect = true;\n lang.aliases = [];\n // support users only loading c-like (legacy)\n if (!hljs.getLanguage(\"c\")) lang.aliases.push(...C_ALIASES);\n if (!hljs.getLanguage(\"cpp\")) lang.aliases.push(...CPP_ALIASES);\n\n // if c and cpp are loaded after then they will reclaim these\n // aliases for themselves\n\n return lang;\n}\n\nmodule.exports = cLike;\n"],"sourceRoot":""}
\ No newline at end of file +{"version":3,"file":"highlight/c-like.js?v=18a1d8ad3a8fb0d32993","mappings":"wFA4BA,SAASA,EAASC,GAChB,OAAOC,EAAO,IAAKD,EAAI,MAOzB,SAASC,KAAUC,GAEjB,OADeA,EAAKC,KAAKC,IAAMC,OA5BjBL,EA4BwBI,GA1BpB,iBAAPJ,EAAwBA,EAE5BA,EAAGK,OAHM,KADlB,IAAgBL,KA4B4BM,KAAK,IA+cjDC,EAAOC,QA9BP,SAAeC,GACb,MAAMC,EAvaR,SAAmBD,GAIjB,MAAME,EAAsBF,EAAKG,QAAQ,KAAM,IAAK,CAClDC,SAAU,CACR,CACEC,MAAO,WAIPC,EAAmB,qBACnBC,EAAe,kBAEfC,EAAmB,uBAEvBlB,EAASiB,GACT,gBAAkBjB,EAJS,YAK7B,IACMmB,EAAsB,CAC1BC,UAAW,UACXL,MAAO,sBAMHM,EAAU,CACdD,UAAW,SACXE,SAAU,CACR,CACEP,MAAO,cACPQ,IAAK,IACLC,QAAS,MACTV,SAAU,CAAEJ,EAAKe,mBAEnB,CACEV,MAAO,sEACPQ,IAAK,IACLC,QAAS,KAEXd,EAAKgB,kBAAkB,CACrBX,MAAO,mCACPQ,IAAK,0BAKLI,EAAU,CACdP,UAAW,SACXE,SAAU,CACR,CACEP,MAAO,iBAET,CACEA,MAAO,yFAET,CACEA,MAAO,wFAGXa,UAAW,GAGPC,EAAe,CACnBT,UAAW,OACXL,MAAO,eACPQ,IAAK,IACLO,SAAU,CACR,eACE,0FAGJhB,SAAU,CACR,CACEC,MAAO,OACPa,UAAW,GAEblB,EAAKqB,QAAQV,EAAS,CACpBD,UAAW,gBAEb,CACEA,UAAW,cACXL,MAAO,SAETH,EACAF,EAAKsB,uBAIHC,EAAa,CACjBb,UAAW,QACXL,MAAOf,EAASiB,GAAgBP,EAAKwB,SACrCN,UAAW,GAGPO,EAAiBnC,EAASiB,GAAgBP,EAAKwB,SAAW,UAsH1DE,EAAe,CACnBC,QAAS,y0BAYTC,SAAU,4BACVC,iBAlIuB,CACvB,OACA,QACA,OACA,SACA,OACA,OACA,MACA,OACA,MACA,OACA,QACA,OACA,UACA,QACA,OACA,QACA,WACA,QACA,OACA,QACA,QACA,SACA,MACA,MACA,OACA,SACA,WACA,WACA,gBACA,SACA,SACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WACA,UACA,UACA,OACA,QACA,QACA,MACA,SACA,UACA,SACA,SACA,SACA,SACA,OACA,MACA,SACA,UACA,OACA,QACA,OACA,MACA,WACA,UACA,OACA,SACA,SACA,SACA,SACA,SACA,UACA,SACA,UACA,UACA,UACA,UACA,UACA,SACA,SACA,OACA,MACA,gBACA,qBACA,qBACA,iBACA,YACA,QACA,aACA,QACA,YACA,MACA,OACA,WACA,UACA,WACA,OACA,mBACA,aACA,UACA,YACA,MACA,SACA,UACA,MACA,OACA,OACA,OACA,QACA,SACA,SACA,eACA,gBACA,iBAkBAC,QAAS,2BAGLC,EAAoB,CACxBrB,UAAW,oBACXQ,UAAW,EACXE,SAAUM,EACVrB,MAAOb,EACL,KACA,eACA,SACA,UACA,YACAQ,EAAKwB,UA9QQjC,EA+QH,QA9QPC,EAAO,MAAOD,EAAI,QAD3B,IAAmBA,EAkRjB,MAAMyC,EAAsB,CAC1BD,EACAZ,EACAV,EACAP,EACAF,EAAKsB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,CACEhB,UAAW,QACXwB,cAAe,0BACfrB,IAAK,WACLT,SAAU,CACR,CACE8B,cAAe,sBAEjBlC,EAAKuB,eAIbxB,QAAS,CACP2C,aAAcvB,EACdwB,QAAShC,EACTS,SAAUM,IAaDkB,CAAU5C,GA0BvB,OATAC,EAAK4C,mBAAoB,EACzB5C,EAAKuC,QAAU,GAEVxC,EAAK8C,YAAY,MAAM7C,EAAKuC,QAAQO,KAjBvC,IACA,KAiBG/C,EAAK8C,YAAY,QAAQ7C,EAAKuC,QAAQO,KAbzC,KACA,MACA,MACA,MACA,KACA,MACA,OAYK9C","sources":["webpack:///text/node_modules/highlight.js/lib/languages/c-like.js"],"sourcesContent":["/**\n * @param {string} value\n * @returns {RegExp}\n * */\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction source(re) {\n if (!re) return null;\n if (typeof re === \"string\") return re;\n\n return re.source;\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction lookahead(re) {\n return concat('(?=', re, ')');\n}\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\nfunction optional(re) {\n return concat('(', re, ')?');\n}\n\n/**\n * @param {...(RegExp | string) } args\n * @returns {string}\n */\nfunction concat(...args) {\n const joined = args.map((x) => source(x)).join(\"\");\n return joined;\n}\n\n/*\nLanguage: C++\nCategory: common, system\nWebsite: https://isocpp.org\n*/\n\n/** @type LanguageFn */\nfunction cPlusPlus(hljs) {\n // added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does\n // not include such support nor can we be sure all the grammars depending\n // on it would desire this behavior\n const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', {\n contains: [\n {\n begin: /\\\\\\n/\n }\n ]\n });\n const DECLTYPE_AUTO_RE = 'decltype\\\\(auto\\\\)';\n const NAMESPACE_RE = '[a-zA-Z_]\\\\w*::';\n const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';\n const FUNCTION_TYPE_RE = '(' +\n DECLTYPE_AUTO_RE + '|' +\n optional(NAMESPACE_RE) +\n '[a-zA-Z_]\\\\w*' + optional(TEMPLATE_ARGUMENT_RE) +\n ')';\n const CPP_PRIMITIVE_TYPES = {\n className: 'keyword',\n begin: '\\\\b[a-z\\\\d_]*_t\\\\b'\n };\n\n // https://en.cppreference.com/w/cpp/language/escape\n // \\\\ \\x \\xFF \\u2837 \\u00323747 \\374\n const CHARACTER_ESCAPES = '\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)';\n const STRINGS = {\n className: 'string',\n variants: [\n {\n begin: '(u8?|U|L)?\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '(u8?|U|L)?\\'(' + CHARACTER_ESCAPES + \"|.)\",\n end: '\\'',\n illegal: '.'\n },\n hljs.END_SAME_AS_BEGIN({\n begin: /(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,\n end: /\\)([^()\\\\ ]{0,16})\"/\n })\n ]\n };\n\n const NUMBERS = {\n className: 'number',\n variants: [\n {\n begin: '\\\\b(0b[01\\']+)'\n },\n {\n begin: '(-?)\\\\b([\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)'\n },\n {\n begin: '(-?)(\\\\b0[xX][a-fA-F0-9\\']+|(\\\\b[\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)([eE][-+]?[\\\\d\\']+)?)'\n }\n ],\n relevance: 0\n };\n\n const PREPROCESSOR = {\n className: 'meta',\n begin: /#\\s*[a-z]+\\b/,\n end: /$/,\n keywords: {\n 'meta-keyword':\n 'if else elif endif define undef warning error line ' +\n 'pragma _Pragma ifdef ifndef include'\n },\n contains: [\n {\n begin: /\\\\\\n/,\n relevance: 0\n },\n hljs.inherit(STRINGS, {\n className: 'meta-string'\n }),\n {\n className: 'meta-string',\n begin: /<.*?>/\n },\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n };\n\n const TITLE_MODE = {\n className: 'title',\n begin: optional(NAMESPACE_RE) + hljs.IDENT_RE,\n relevance: 0\n };\n\n const FUNCTION_TITLE = optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\\\s*\\\\(';\n\n const COMMON_CPP_HINTS = [\n 'asin',\n 'atan2',\n 'atan',\n 'calloc',\n 'ceil',\n 'cosh',\n 'cos',\n 'exit',\n 'exp',\n 'fabs',\n 'floor',\n 'fmod',\n 'fprintf',\n 'fputs',\n 'free',\n 'frexp',\n 'auto_ptr',\n 'deque',\n 'list',\n 'queue',\n 'stack',\n 'vector',\n 'map',\n 'set',\n 'pair',\n 'bitset',\n 'multiset',\n 'multimap',\n 'unordered_set',\n 'fscanf',\n 'future',\n 'isalnum',\n 'isalpha',\n 'iscntrl',\n 'isdigit',\n 'isgraph',\n 'islower',\n 'isprint',\n 'ispunct',\n 'isspace',\n 'isupper',\n 'isxdigit',\n 'tolower',\n 'toupper',\n 'labs',\n 'ldexp',\n 'log10',\n 'log',\n 'malloc',\n 'realloc',\n 'memchr',\n 'memcmp',\n 'memcpy',\n 'memset',\n 'modf',\n 'pow',\n 'printf',\n 'putchar',\n 'puts',\n 'scanf',\n 'sinh',\n 'sin',\n 'snprintf',\n 'sprintf',\n 'sqrt',\n 'sscanf',\n 'strcat',\n 'strchr',\n 'strcmp',\n 'strcpy',\n 'strcspn',\n 'strlen',\n 'strncat',\n 'strncmp',\n 'strncpy',\n 'strpbrk',\n 'strrchr',\n 'strspn',\n 'strstr',\n 'tanh',\n 'tan',\n 'unordered_map',\n 'unordered_multiset',\n 'unordered_multimap',\n 'priority_queue',\n 'make_pair',\n 'array',\n 'shared_ptr',\n 'abort',\n 'terminate',\n 'abs',\n 'acos',\n 'vfprintf',\n 'vprintf',\n 'vsprintf',\n 'endl',\n 'initializer_list',\n 'unique_ptr',\n 'complex',\n 'imaginary',\n 'std',\n 'string',\n 'wstring',\n 'cin',\n 'cout',\n 'cerr',\n 'clog',\n 'stdin',\n 'stdout',\n 'stderr',\n 'stringstream',\n 'istringstream',\n 'ostringstream'\n ];\n\n const CPP_KEYWORDS = {\n keyword: 'int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof ' +\n 'dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace ' +\n 'unsigned long volatile static protected bool template mutable if public friend ' +\n 'do goto auto void enum else break extern using asm case typeid wchar_t ' +\n 'short reinterpret_cast|10 default double register explicit signed typename try this ' +\n 'switch continue inline delete alignas alignof constexpr consteval constinit decltype ' +\n 'concept co_await co_return co_yield requires ' +\n 'noexcept static_assert thread_local restrict final override ' +\n 'atomic_bool atomic_char atomic_schar ' +\n 'atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong ' +\n 'atomic_ullong new throw return ' +\n 'and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq',\n built_in: '_Bool _Complex _Imaginary',\n _relevance_hints: COMMON_CPP_HINTS,\n literal: 'true false nullptr NULL'\n };\n\n const FUNCTION_DISPATCH = {\n className: \"function.dispatch\",\n relevance: 0,\n keywords: CPP_KEYWORDS,\n begin: concat(\n /\\b/,\n /(?!decltype)/,\n /(?!if)/,\n /(?!for)/,\n /(?!while)/,\n hljs.IDENT_RE,\n lookahead(/\\s*\\(/))\n };\n\n const EXPRESSION_CONTAINS = [\n FUNCTION_DISPATCH,\n PREPROCESSOR,\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBERS,\n STRINGS\n ];\n\n\n const EXPRESSION_CONTEXT = {\n // This mode covers expression context where we can't expect a function\n // definition and shouldn't highlight anything that looks like one:\n // `return some()`, `else if()`, `(x*sum(1, 2))`\n variants: [\n {\n begin: /=/,\n end: /;/\n },\n {\n begin: /\\(/,\n end: /\\)/\n },\n {\n beginKeywords: 'new throw return else',\n end: /;/\n }\n ],\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([ 'self' ]),\n relevance: 0\n }\n ]),\n relevance: 0\n };\n\n const FUNCTION_DECLARATION = {\n className: 'function',\n begin: '(' + FUNCTION_TYPE_RE + '[\\\\*&\\\\s]+)+' + FUNCTION_TITLE,\n returnBegin: true,\n end: /[{;=]/,\n excludeEnd: true,\n keywords: CPP_KEYWORDS,\n illegal: /[^\\w\\s\\*&:<>.]/,\n contains: [\n { // to prevent it from being confused as the function title\n begin: DECLTYPE_AUTO_RE,\n keywords: CPP_KEYWORDS,\n relevance: 0\n },\n {\n begin: FUNCTION_TITLE,\n returnBegin: true,\n contains: [ TITLE_MODE ],\n relevance: 0\n },\n // needed because we do not have look-behind on the below rule\n // to prevent it from grabbing the final : in a :: pair\n {\n begin: /::/,\n relevance: 0\n },\n // initializers\n {\n begin: /:/,\n endsWithParent: true,\n contains: [\n STRINGS,\n NUMBERS\n ]\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES,\n // Count matching parentheses.\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n 'self',\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES\n ]\n }\n ]\n },\n CPP_PRIMITIVE_TYPES,\n C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n PREPROCESSOR\n ]\n };\n\n return {\n name: 'C++',\n aliases: [\n 'cc',\n 'c++',\n 'h++',\n 'hpp',\n 'hh',\n 'hxx',\n 'cxx'\n ],\n keywords: CPP_KEYWORDS,\n illegal: '</',\n classNameAliases: {\n \"function.dispatch\": \"built_in\"\n },\n contains: [].concat(\n EXPRESSION_CONTEXT,\n FUNCTION_DECLARATION,\n FUNCTION_DISPATCH,\n EXPRESSION_CONTAINS,\n [\n PREPROCESSOR,\n { // containers: ie, `vector <int> rooms (9);`\n begin: '\\\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\\\s*<',\n end: '>',\n keywords: CPP_KEYWORDS,\n contains: [\n 'self',\n CPP_PRIMITIVE_TYPES\n ]\n },\n {\n begin: hljs.IDENT_RE + '::',\n keywords: CPP_KEYWORDS\n },\n {\n className: 'class',\n beginKeywords: 'enum class struct union',\n end: /[{;:<>=]/,\n contains: [\n {\n beginKeywords: \"final class struct\"\n },\n hljs.TITLE_MODE\n ]\n }\n ]),\n exports: {\n preprocessor: PREPROCESSOR,\n strings: STRINGS,\n keywords: CPP_KEYWORDS\n }\n };\n}\n\n/*\nLanguage: C-like (deprecated, use C and C++ instead)\nAuthor: Ivan Sagalaev <maniac@softwaremaniacs.org>\nContributors: Evgeny Stepanischev <imbolk@gmail.com>, Zaven Muradyan <megalivoithos@gmail.com>, Roel Deckers <admin@codingcat.nl>, Sam Wu <samsam2310@gmail.com>, Jordi Petit <jordi.petit@gmail.com>, Pieter Vantorre <pietervantorre@gmail.com>, Google Inc. (David Benjamin) <davidben@google.com>\n*/\n\n/** @type LanguageFn */\nfunction cLike(hljs) {\n const lang = cPlusPlus(hljs);\n\n const C_ALIASES = [\n \"c\",\n \"h\"\n ];\n\n const CPP_ALIASES = [\n 'cc',\n 'c++',\n 'h++',\n 'hpp',\n 'hh',\n 'hxx',\n 'cxx'\n ];\n\n lang.disableAutodetect = true;\n lang.aliases = [];\n // support users only loading c-like (legacy)\n if (!hljs.getLanguage(\"c\")) lang.aliases.push(...C_ALIASES);\n if (!hljs.getLanguage(\"cpp\")) lang.aliases.push(...CPP_ALIASES);\n\n // if c and cpp are loaded after then they will reclaim these\n // aliases for themselves\n\n return lang;\n}\n\nmodule.exports = cLike;\n"],"names":["optional","re","concat","args","map","x","source","join","module","exports","hljs","lang","C_LINE_COMMENT_MODE","COMMENT","contains","begin","DECLTYPE_AUTO_RE","NAMESPACE_RE","FUNCTION_TYPE_RE","CPP_PRIMITIVE_TYPES","className","STRINGS","variants","end","illegal","BACKSLASH_ESCAPE","END_SAME_AS_BEGIN","NUMBERS","relevance","PREPROCESSOR","keywords","inherit","C_BLOCK_COMMENT_MODE","TITLE_MODE","IDENT_RE","FUNCTION_TITLE","CPP_KEYWORDS","keyword","built_in","_relevance_hints","literal","FUNCTION_DISPATCH","EXPRESSION_CONTAINS","EXPRESSION_CONTEXT","beginKeywords","FUNCTION_DECLARATION","returnBegin","excludeEnd","endsWithParent","name","aliases","classNameAliases","preprocessor","strings","cPlusPlus","disableAutodetect","getLanguage","push"],"sourceRoot":""}
\ No newline at end of file |