ICharStream Interface |
Namespace: Syntactik.IO
public interface ICharStream
The ICharStream type exposes the following members.
| Name | Description | |
|---|---|---|
| Column |
Number of consumed character since property Line changed the value. 0 if no characters
has been consumed in the current line.
| |
| Index |
Index of the last consumed character. -1 if input is in the initial state.
| |
| Length |
Total number of symbols in the stream.
| |
| Line |
Current line. Starts from 1.
| |
| Next |
Current character. Next symbol to be consumed.
|
| Name | Description | |
|---|---|---|
| Consume |
Consumes one character.
| |
| La |
Implements look-ahead logic that allows to read characters without changing the current position of the stream.
| |
| Reset |
Initializes/resets state of the stream.
|