Table of Contents

Class SubProgramReturn

Namespace
Hi.NcParsers.Keywords
Assembly
HiMech.dll

Subprogram return record left on the M99 host block by SubProgramReturnSyntax. Return blocks produce no motion acts; this section makes the consumed M99 visible in cache dumps and surfaces the M99 P{seq} jump decision.

public class SubProgramReturn
Inheritance
SubProgramReturn
Inherited Members
Extension Methods

Properties

JumpedToN

Set to P when the M99 actually redirected control flow to the caller's N{seq} block via ReplaceSource(IEnumerable<T>). Null on plain M99 (no P), and on M99 P{seq} that fell through because the jump could not be carried out.

public int? JumpedToN { get; set; }

Property Value

int?

P

Optional caller sequence number from the P parameter (M99 P{seq}). Null on a plain M99. When non-null and the jump fires, JumpedToN is set to the same value; when the jump is suppressed (no caller frame, label not found, iteration limit reached) JumpedToN stays null and a warning is emitted.

public int? P { get; set; }

Property Value

int?

Term

Triggering keyword (always “M99” for now).

public string Term { get; set; }

Property Value

string