SourceTextReader Class

SourceTextReader class

Represents the SourceTextReader.

public class SourceTextReader : IDisposable

Constructors

NameDescription
SourceTextReader(SourceText)Create the SourceTextReader

Properties

NameDescription
Position { get; }Get the position.
Source { get; }Get rhe source.

Methods

NameDescription
virtual Advance()Increment the position.
virtual Advance(int)The increment position on N
virtual Back()The decrement position.
Dispose()Defines the Dispose interface.
GetLineReader(bool)Get the SourceTextReader
Next()Get the next character and advance position.
Peek()Get the character on position or Character.Null
Peek(int)Get the char.
virtual Reset(int)Reset position to index

See Also