-
Notifications
You must be signed in to change notification settings - Fork 3
2.2 IParsedLine
This interface allows users to extract information from a line, item by item.
Objects implementing it are supposed to store internally the whole parsed line.
Extracts next IParsedLine item, modifying it.
This means that a future NextElement()
invocation will return following item, as it's usually desired.
Extracts next IParsedLine item, without modifying it.
This means that consecutive PeekNextElement()
invocations will return the same information.
Returns remaining line items as a list, providing they're all of the same type.
Returns remaining line items as a single string.
If a wordSeparator
is selected, chosen string will be added after every word. By default, a blank space is added, but using string.Empty()
can be explicitly used to avoid those blank spaces.
Returns the size (remaining number of items) of IParsedLine.
Returns true if IParsedLine has no remaining items.
Using Empty
intends to perform better than comparing Count
result against zero.