mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-15 02:37:17 +01:00
1 line
5.5 KiB
Plaintext
1 line
5.5 KiB
Plaintext
{"version":3,"file":"2741.9f3aba6b2cd0b453f9a5.js","mappings":"sFAmIAA,EAAOC,QAzHP,SAAcC,GACZ,MAAMC,EAAQD,EAAKC,MACbC,EAAW,yBA6BXC,EAAW,CACfC,UAAW,WACXC,SAAU,CACR,CAAEC,MAAOL,EAAMM,OAAO,IAAKL,IAC3B,CAAEI,MAAO,QACT,CAAEA,MAAO,UAGPE,EAAW,CACfJ,UAAW,QACXC,SAAU,CACR,CAAEC,MAAOL,EAAMM,OAAO,IAAKL,IAC3B,CAAEI,MAAO,QACT,CAAEA,MAAOL,EAAMM,OAAO,IAAKL,IAC3B,CAAEI,MAAOL,EAAMM,OAAO,OAAQL,IAG9B,CAAEI,MAAO,UAIb,MAAO,CACLG,KAAM,UAENC,SACE,ysDAqCFC,SAAU,CA1FC,CACXP,UAAW,OACXE,MAAO,mBA6FLN,EAAKY,QAAQ,QAAS,KAAM,CAAEC,UAAW,IACzCb,EAAKY,QAAQ,IAAK,KAClB,CACER,UAAW,SACXE,MAAO,IACPQ,IAAK,IACLH,SAAU,CACR,CACEP,UAAW,cACXW,MAAO,YAIbP,EAnGgB,CAClBJ,UAAW,cACXS,UAAW,EACXP,MAAO,KARQ,CACfF,UAAW,WACXS,UAAW,EACXP,MAAO,KAwGLH,EAzFU,CACZC,UAAW,SACXC,SAAU,CAAE,CAAEC,MAAO,gBAErBO,UAAW,GAZE,CACbT,UAAW,SACXC,SAAU,CACR,CAAEC,MAAO,kCACT,CAAEA,MAAO,oDAEXO,UAAW","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/llvm.js"],"sourcesContent":["/*\nLanguage: LLVM IR\nAuthor: Michael Rodler <contact@f0rki.at>\nDescription: language used as intermediate representation in the LLVM compiler framework\nWebsite: https://llvm.org/docs/LangRef.html\nCategory: assembler\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction llvm(hljs) {\n const regex = hljs.regex;\n const IDENT_RE = /([-a-zA-Z$._][\\w$.-]*)/;\n const TYPE = {\n className: 'type',\n begin: /\\bi\\d+(?=\\s|\\b)/\n };\n const OPERATOR = {\n className: 'operator',\n relevance: 0,\n begin: /=/\n };\n const PUNCTUATION = {\n className: 'punctuation',\n relevance: 0,\n begin: /,/\n };\n const NUMBER = {\n className: 'number',\n variants: [\n { begin: /[su]?0[xX][KMLHR]?[a-fA-F0-9]+/ },\n { begin: /[-+]?\\d+(?:[.]\\d+)?(?:[eE][-+]?\\d+(?:[.]\\d+)?)?/ }\n ],\n relevance: 0\n };\n const LABEL = {\n className: 'symbol',\n variants: [ { begin: /^\\s*[a-z]+:/ }, // labels\n ],\n relevance: 0\n };\n const VARIABLE = {\n className: 'variable',\n variants: [\n { begin: regex.concat(/%/, IDENT_RE) },\n { begin: /%\\d+/ },\n { begin: /#\\d+/ },\n ]\n };\n const FUNCTION = {\n className: 'title',\n variants: [\n { begin: regex.concat(/@/, IDENT_RE) },\n { begin: /@\\d+/ },\n { begin: regex.concat(/!/, IDENT_RE) },\n { begin: regex.concat(/!\\d+/, IDENT_RE) },\n // https://llvm.org/docs/LangRef.html#namedmetadatastructure\n // obviously a single digit can also be used in this fashion\n { begin: /!\\d+/ }\n ]\n };\n\n return {\n name: 'LLVM IR',\n // TODO: split into different categories of keywords\n keywords:\n 'begin end true false declare define global '\n + 'constant private linker_private internal '\n + 'available_externally linkonce linkonce_odr weak '\n + 'weak_odr appending dllimport dllexport common '\n + 'default hidden protected extern_weak external '\n + 'thread_local zeroinitializer undef null to tail '\n + 'target triple datalayout volatile nuw nsw nnan '\n + 'ninf nsz arcp fast exact inbounds align '\n + 'addrspace section alias module asm sideeffect '\n + 'gc dbg linker_private_weak attributes blockaddress '\n + 'initialexec localdynamic localexec prefix unnamed_addr '\n + 'ccc fastcc coldcc x86_stdcallcc x86_fastcallcc '\n + 'arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device '\n + 'ptx_kernel intel_ocl_bicc msp430_intrcc spir_func '\n + 'spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc '\n + 'cc c signext zeroext inreg sret nounwind '\n + 'noreturn noalias nocapture byval nest readnone '\n + 'readonly inlinehint noinline alwaysinline optsize ssp '\n + 'sspreq noredzone noimplicitfloat naked builtin cold '\n + 'nobuiltin noduplicate nonlazybind optnone returns_twice '\n + 'sanitize_address sanitize_memory sanitize_thread sspstrong '\n + 'uwtable returned type opaque eq ne slt sgt '\n + 'sle sge ult ugt ule uge oeq one olt ogt '\n + 'ole oge ord uno ueq une x acq_rel acquire '\n + 'alignstack atomic catch cleanup filter inteldialect '\n + 'max min monotonic nand personality release seq_cst '\n + 'singlethread umax umin unordered xchg add fadd '\n + 'sub fsub mul fmul udiv sdiv fdiv urem srem '\n + 'frem shl lshr ashr and or xor icmp fcmp '\n + 'phi call trunc zext sext fptrunc fpext uitofp '\n + 'sitofp fptoui fptosi inttoptr ptrtoint bitcast '\n + 'addrspacecast select va_arg ret br switch invoke '\n + 'unwind unreachable indirectbr landingpad resume '\n + 'malloc alloca free load store getelementptr '\n + 'extractelement insertelement shufflevector getresult '\n + 'extractvalue insertvalue atomicrmw cmpxchg fence '\n + 'argmemonly double',\n contains: [\n TYPE,\n // this matches \"empty comments\"...\n // ...because it's far more likely this is a statement terminator in\n // another language than an actual comment\n hljs.COMMENT(/;\\s*$/, null, { relevance: 0 }),\n hljs.COMMENT(/;/, /$/),\n {\n className: 'string',\n begin: /\"/,\n end: /\"/,\n contains: [\n {\n className: 'char.escape',\n match: /\\\\\\d\\d/\n }\n ]\n },\n FUNCTION,\n PUNCTUATION,\n OPERATOR,\n VARIABLE,\n LABEL,\n NUMBER\n ]\n };\n}\n\nmodule.exports = llvm;\n"],"names":["module","exports","hljs","regex","IDENT_RE","VARIABLE","className","variants","begin","concat","FUNCTION","name","keywords","contains","COMMENT","relevance","end","match"],"sourceRoot":""} |