UNPKG

@scalenc/nc-format

Version:

Library for handling TRUMPF NC file format.

23 lines (22 loc) 643 B
import { Expression } from '../Expressions'; import { Statement } from './Statement'; import { StatementVisitor } from './StatementVisitor'; export declare enum FlowControlInstructionType { IF = 0, ELSE = 1, ENDIF = 2, WHILE = 3, ENDWHILE = 4, REPEAT = 5, UNTIL = 6, LOOP = 7, ENDLOOP = 8, FOR = 9, ENDFOR = 10 } export declare class FlowControlInstruction implements Statement { type: FlowControlInstructionType; expressions?: Expression[] | undefined; constructor(type: FlowControlInstructionType, expressions?: Expression[] | undefined); visit(visitor: StatementVisitor): void; }