@nebulaglitch/gcode
Version:
A library to generate gcode output
1 lines • 828 B
Source Map (JSON)
{"version":3,"file":"subprogramcall.cjs","sources":["../../src/commands/subprogramcall.ts"],"sourcesContent":["'use strict';\n\nimport Command from '../command';\nimport Argument from '../argument';\n\nclass SubprogramCall extends Command {\n constructor(filename: string | null = null) {\n super('M', 98);\n if (filename !== null) {\n this.args.push(new Argument('', filename));\n }\n }\n}\n\nexport default SubprogramCall;\n"],"names":["SubprogramCall","Command","constructor","filename","args","push","Argument"],"mappings":";;;;;;;AAKA,MAAMA,cAAuBC,SAAAA,eAAAA,CAAAA;IACzBC,WAAYC,CAAAA,QAAAA,GAA0B,IAAI,CAAE;AACxC,QAAA,KAAK,CAAC,GAAK,EAAA,EAAA,CAAA;AACX,QAAA,IAAIA,aAAa,IAAM,EAAA;AACnB,YAAA,IAAI,CAACC,IAAI,CAACC,IAAI,CAAC,IAAIC,iBAAS,EAAIH,EAAAA,QAAAA,CAAAA,CAAAA;AACpC;AACJ;AACJ;;;;"}