Class SiemensCall
Siemens subprogram-call record. Two lifetimes share the shape:
Parsing.SiemensCall— written by SiemensCallStatementSyntax when a whole-line call statement is captured (L9810,L123 P3,HQ_FC(1,2)). Carries Name, optional verbatim Args, optional P.- block-root
SiemensCall— written by SiemensSubProgramCallSyntax on the host block and on every inlined body block once the call is consumed. FileName records the resolved subprogram file; Skipped marks the safe-skip outcome (no file found — OEM / measuring cycles likeHQ_FC, RenishawL9810) where the call is consumed with zero motion effect and a structured warning replaces the raw unparsed-text noise.
public class SiemensCall
- Inheritance
-
SiemensCall
- Inherited Members
- Extension Methods
Properties
Args
Verbatim positional argument strings from the parenthesized form
(HQ_FC(1,2) → [“1”,“2”]). Absent for bare calls.
P4 records but does not bind them — argument-to-PROC-parameter
binding is a later work item; a resolved call with arguments
emits SiemensCall–ArgsNotBound.
public string[] Args { get; set; }
Property Value
- string[]
FileName
Bare matched file name (e.g. “L9810.SPF”) when the call resolved; null when skipped.
public string FileName { get; set; }
Property Value
Name
Called name exactly as written: “L9810”, “HQ_FC”, “MY_SUB”.
public string Name { get; set; }
Property Value
P
Repeat count from the trailing P word (L123 P3); defaults to 1 when absent.
public int P { get; set; }
Property Value
Skipped
True when no subprogram file resolved and the call was consumed as a structured safe-skip.
public bool Skipped { get; set; }