Interface ISentenceIndexed
Abstraction for an object that carries a SentenceIndex —
the identity of its source block (a Sentence as one pass of
the play read it) on its NC pipeline: a 0-based ordinal unique among the
blocks the pipeline built,
numbered from 0 again when the pipeline is built afresh. Use as a
cross-process identity key (messages, ClStripPos, MachiningStep, etc.)
when the (FileIndex, LineIndex) source position is not enough
because a block can play more than once (a subprogram called twice, the
rounds of a loop). The values increase in the order the pipeline
materializes the blocks, which is not always the order they play
(SentenceIndex).
public interface ISentenceIndexed
- Extension Methods
Properties
SentenceIndex
0-based identity of the source block on its NC pipeline: unique per pipeline, increasing in materialization order, not always in play order.
int SentenceIndex { get; }