Class SingleLineSegmenter
- Namespace
- Hi.NcParsers.Segmenters
- Assembly
- HiMech.dll
public class SingleLineSegmenter : ISegmenter, IToXElement
- Inheritance
-
SingleLineSegmenter
- Implements
- Inherited Members
- Extension Methods
Properties
Name
public string Name { get; }
Property Value
XName
public static string XName { get; }
Property Value
Methods
GetSegment(LazyLinkedListNode<IndexedFileLine>, out LazyLinkedListNode<IndexedFileLine>, out LazyLinkedListNode<IndexedFileLine>, NcDiagnosticProgress)
Get a sentence block according to the srcNode.
the srcNode can be any node in the nodes from beginNode to the exclusive endNode.
public void GetSegment(LazyLinkedListNode<IndexedFileLine> srcNode, out LazyLinkedListNode<IndexedFileLine> beginNode, out LazyLinkedListNode<IndexedFileLine> endNode, NcDiagnosticProgress ncDiagnosticProgress)
Parameters
srcNodeLazyLinkedListNode<IndexedFileLine>beginNodeLazyLinkedListNode<IndexedFileLine>endNodeLazyLinkedListNode<IndexedFileLine>exclusive end node
ncDiagnosticProgressNcDiagnosticProgress
ToXElement()
Get the XElement to represent the object.
public XElement ToXElement()