diff options
Diffstat (limited to 'js/highlight/gcode.js.map')
-rw-r--r-- | js/highlight/gcode.js.map | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/highlight/gcode.js.map b/js/highlight/gcode.js.map index 101e9098d..03588e9a4 100644 --- a/js/highlight/gcode.js.map +++ b/js/highlight/gcode.js.map @@ -1 +1 @@ -{"version":3,"file":"highlight/gcode.js?v=8b07f1136b7f0f036a29","mappings":"uFAuFAA,EAAOC,QAhFP,SAAeC,GACb,MAEMC,EAAiB,CACrBC,SAHqB,oBAIrBC,QAAS,6FAOLC,EAASJ,EAAKK,QAAQL,EAAKM,cAAe,CAC9CC,MAAO,uCAAyCP,EAAKQ,cAEjDC,EAAa,CACjBT,EAAKU,oBACLV,EAAKW,qBACLX,EAAKY,QAAQ,KAAM,MACnBR,EACAJ,EAAKK,QAAQL,EAAKa,iBAAkB,CAClCC,QAAS,OAEXd,EAAKK,QAAQL,EAAKe,kBAAmB,CACnCD,QAAS,OAEX,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,CACRd,GAEFa,IAAK,OAEP,CACED,UAAW,SACXG,SAAU,CACR,CACEZ,MAAO,IACPU,IAAK,OACLH,QAAS,UAMjB,MAAO,CACLM,KAAM,oBACNC,QAAS,CAAC,MAGVC,kBAAkB,EAClBC,SAAUtB,EACViB,SAAU,CACR,CACEF,UAAW,OACXT,MAvEiB,KAMH,CAClBS,UAAW,OACXT,MAAO,kBAkELiB,OAAOf","sources":["webpack:///text/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, {\n begin: '([-+]?((\\\\.\\\\d+)|(\\\\d+)(\\\\.\\\\d*)?))|' + hljs.C_NUMBER_RE\n });\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, {\n illegal: null\n }),\n hljs.inherit(hljs.QUOTE_STRING_MODE, {\n illegal: null\n }),\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: [\n NUMBER\n ],\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","GCODE_KEYWORDS","$pattern","keyword","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","concat"],"sourceRoot":""}
\ No newline at end of file +{"version":3,"file":"highlight/gcode.js?v=7482c63b28c6e37ce175","mappings":"6GAuFAA,EAAOC,QAhFP,SAAeC,GACb,MAEMC,EAAiB,CACrBC,SAHqB,oBAIrBC,QAAS,6FAOLC,EAASJ,EAAKK,QAAQL,EAAKM,cAAe,CAC9CC,MAAO,uCAAyCP,EAAKQ,cAEjDC,EAAa,CACjBT,EAAKU,oBACLV,EAAKW,qBACLX,EAAKY,QAAQ,KAAM,MACnBR,EACAJ,EAAKK,QAAQL,EAAKa,iBAAkB,CAClCC,QAAS,OAEXd,EAAKK,QAAQL,EAAKe,kBAAmB,CACnCD,QAAS,OAEX,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,CACRd,GAEFa,IAAK,OAEP,CACED,UAAW,SACXG,SAAU,CACR,CACEZ,MAAO,IACPU,IAAK,OACLH,QAAS,UAMjB,MAAO,CACLM,KAAM,oBACNC,QAAS,CAAC,MAGVC,kBAAkB,EAClBC,SAAUtB,EACViB,SAAU,CACR,CACEF,UAAW,OACXT,MAvEiB,KAMH,CAClBS,UAAW,OACXT,MAAO,kBAkELiB,OAAOf","sources":["webpack:///text/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, {\n begin: '([-+]?((\\\\.\\\\d+)|(\\\\d+)(\\\\.\\\\d*)?))|' + hljs.C_NUMBER_RE\n });\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, {\n illegal: null\n }),\n hljs.inherit(hljs.QUOTE_STRING_MODE, {\n illegal: null\n }),\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: [\n NUMBER\n ],\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","GCODE_KEYWORDS","$pattern","keyword","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","concat"],"sourceRoot":""}
\ No newline at end of file |