MParser/Lexer/ITextWindow.cs
2018-03-31 21:51:53 +02:00

15 lines
348 B
C#

namespace Lexer
{
public interface ITextWindow
{
bool IsEof();
char PeekChar();
char PeekChar(int n);
void ConsumeChar();
void ConsumeChars(int n);
char GetAndConsumeChar();
string GetAndConsumeChars(int n);
int CharactersLeft();
IPosition Position { get; }
}
}