mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-20 20:07:57 +08:00
20 lines
396 B
C#
20 lines
396 B
C#
namespace UglyToad.Pdf.Tokenization.Scanner
|
|
{
|
|
using Tokens;
|
|
|
|
internal interface ITokenScanner
|
|
{
|
|
bool MoveNext();
|
|
|
|
IToken CurrentToken { get; }
|
|
|
|
bool TryReadToken<T>(out T token) where T : class, IToken;
|
|
}
|
|
|
|
internal interface ISeekableTokenScanner : ITokenScanner
|
|
{
|
|
void Seek(long position);
|
|
|
|
long CurrentPosition { get; }
|
|
}
|
|
} |