Table of Contents

Class SiemensWhile

Namespace
Hi.NcParsers.Keywords.Siemens
Assembly
HiMech.dll

Siemens WHILE ... ENDWHILE pre-test loop record. Parsing.SiemensWhile carries the captured phrase; the block-root stamp adds the per-arrival gate outcome. Loop state lives on the shared SiemensLoopFrames stack managed by SiemensLoopSyntax.

public class SiemensWhile
Inheritance
SiemensWhile
Inherited Members
Extension Methods

Fields

TermEndwhile

Loop terminator term.

public const string TermEndwhile = "ENDWHILE"

Field Value

string

TermWhile

Loop entry term.

public const string TermWhile = "WHILE"

Field Value

string

Properties

Condition

Raw condition text on the WHILE phrase; substituted in place by the evaluator. Absent on ENDWHILE. Original text survives at Formula.SiemensWhile.Condition.

public string Condition { get; set; }

Property Value

string

ConditionEvaluated

Tri-state gate outcome per WHILE arrival: true — body executes; false — loop exits (forward-jump past the matching ENDWHILE); null — unresolved condition, warns and exits the loop defensively (Fanuc WHILE precedent).

public bool? ConditionEvaluated { get; set; }

Property Value

bool?

Term

public string Term { get; set; }

Property Value

string