Interface ISegmenter
- Namespace
- Hi.NcParsers.Segmenters
- Assembly
- HiMech.dll
Interface to segment IndexedFileLines into Sentences.
public interface ISegmenter : IToXElement
- Inherited Members
- Extension Methods
Properties
Name
Display name of this segmenter.
string Name { get; }
Property Value
Methods
GetSentences(LazyLinkedList<IndexedFileLine>, List<INcDependency>, NcDiagnosticProgress)
Segments the indexed file lines into Sentences.
IEnumerable<Sentence> GetSentences(LazyLinkedList<IndexedFileLine> indexedFileLines, List<INcDependency> ncDependencyList, NcDiagnosticProgress ncDiagnosticProgress)
Parameters
indexedFileLinesLazyLinkedList<IndexedFileLine>The lazy linked list of indexed file lines.
ncDependencyListList<INcDependency>Dependency list of the owning runner; segmenters that consume header rows (e.g. CsvSegmenter) read host-wired dependencies from here. May be null in lightweight test fixtures — implementations that need a dependency must null-check.
ncDiagnosticProgressNcDiagnosticProgressDiagnostic progress reporter.
Returns
- IEnumerable<Sentence>
A sequence of Sentences.