UNPKG

@scalenc/nc-format

Version:

Library for handling TRUMPF NC file format.

17 lines (16 loc) 663 B
import { Declaration } from './Declaration'; import { Assignment } from './Assignment'; import { GCode } from './GCode'; import { Goto } from './Goto'; import { Instruction } from './Instruction'; import { FlowControlInstruction } from './FlowControlInstruction'; import { MCode } from './MCode'; export interface StatementVisitor { onDeclaration(declaration: Declaration): void; onAssignment(assignment: Assignment): void; onGCode(gCode: GCode): void; onGoto(gotoStatement: Goto): void; onInstruction(instruction: Instruction): void; onFlowControlInstruction(instruction: FlowControlInstruction): void; onMCode(mCode: MCode): void; }