mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-11 16:49:44 +01:00
1 line
3.3 KiB
Plaintext
1 line
3.3 KiB
Plaintext
{"version":3,"file":"2001.8c68420c13854bbc24fe.js","mappings":"sFA+EAA,EAAOC,QAxEP,SAAeC,GACb,MAWMC,EAASD,EAAKE,QAAQF,EAAKG,cAAe,CAAEC,MAAO,uCAAyCJ,EAAKK,cACjGC,EAAa,CACjBN,EAAKO,oBACLP,EAAKQ,qBACLR,EAAKS,QAAQ,KAAM,MACnBR,EACAD,EAAKE,QAAQF,EAAKU,iBAAkB,CAAEC,QAAS,OAC/CX,EAAKE,QAAQF,EAAKY,kBAAmB,CAAED,QAAS,OAChD,CACEE,UAAW,OACXT,MAAO,2BAET,CACES,UAAW,OACXT,MAAO,2BAET,CACES,UAAW,OACXT,MAAO,YACPU,IAAK,UAEP,CACED,UAAW,OACXT,MAAO,uBAET,CACES,UAAW,WACXT,MAAO,6DACPW,SAAU,CAAEd,GACZa,IAAK,OAEP,CACED,UAAW,SACXG,SAAU,CACR,CACEZ,MAAO,IACPU,IAAK,OACLH,QAAS,UAMjB,MAAO,CACLM,KAAM,oBACNC,QAAS,CAAE,MAGXC,kBAAkB,EAClBC,SA1DqB,CACrBC,SAHqB,oBAIrBC,QAAS,6FAyDTP,SAAU,CACR,CACEF,UAAW,OACXT,MA/DiB,KAMH,CAClBS,UAAW,OACXT,MAAO,kBA0DLmB,OAAOjB","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/gcode.js"],"sourcesContent":["/*\n Language: G-code (ISO 6983)\n Contributors: Adam Joseph Cook <adam.joseph.cook@gmail.com>\n Description: G-code syntax highlighter for Fanuc and other common CNC machine tool controls.\n Website: https://www.sis.se/api/document/preview/911952/\n */\n\nfunction gcode(hljs) {\n const GCODE_IDENT_RE = '[A-Z_][A-Z0-9_.]*';\n const GCODE_CLOSE_RE = '%';\n const GCODE_KEYWORDS = {\n $pattern: GCODE_IDENT_RE,\n keyword: 'IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT '\n + 'EQ LT GT NE GE LE OR XOR'\n };\n const GCODE_START = {\n className: 'meta',\n begin: '([O])([0-9]+)'\n };\n const NUMBER = hljs.inherit(hljs.C_NUMBER_MODE, { begin: '([-+]?((\\\\.\\\\d+)|(\\\\d+)(\\\\.\\\\d*)?))|' + hljs.C_NUMBER_RE });\n const GCODE_CODE = [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.COMMENT(/\\(/, /\\)/),\n NUMBER,\n hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }),\n hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }),\n {\n className: 'name',\n begin: '([G])([0-9]+\\\\.?[0-9]?)'\n },\n {\n className: 'name',\n begin: '([M])([0-9]+\\\\.?[0-9]?)'\n },\n {\n className: 'attr',\n begin: '(VC|VS|#)',\n end: '(\\\\d+)'\n },\n {\n className: 'attr',\n begin: '(VZOFX|VZOFY|VZOFZ)'\n },\n {\n className: 'built_in',\n begin: '(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\\\[)',\n contains: [ NUMBER ],\n end: '\\\\]'\n },\n {\n className: 'symbol',\n variants: [\n {\n begin: 'N',\n end: '\\\\d+',\n illegal: '\\\\W'\n }\n ]\n }\n ];\n\n return {\n name: 'G-code (ISO 6983)',\n aliases: [ 'nc' ],\n // Some implementations (CNC controls) of G-code are interoperable with uppercase and lowercase letters seamlessly.\n // However, most prefer all uppercase and uppercase is customary.\n case_insensitive: true,\n keywords: GCODE_KEYWORDS,\n contains: [\n {\n className: 'meta',\n begin: GCODE_CLOSE_RE\n },\n GCODE_START\n ].concat(GCODE_CODE)\n };\n}\n\nmodule.exports = gcode;\n"],"names":["module","exports","hljs","NUMBER","inherit","C_NUMBER_MODE","begin","C_NUMBER_RE","GCODE_CODE","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","COMMENT","APOS_STRING_MODE","illegal","QUOTE_STRING_MODE","className","end","contains","variants","name","aliases","case_insensitive","keywords","$pattern","keyword","concat"],"sourceRoot":""} |