AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.0.4" />

 StringSource

public sealed class StringSource
A string abstraction for micro parsers.
public string Content { get; }

Gets the underlying content.

public char Current { get; }

Gets the current character.

public int Index { get; }

Gets the current index.

public bool IsDone { get; }

Gets if the content has been fully scanned.

public StringSource(string content)

Creates a new string source from the given content.

public char Back()

Goes back by one character and returns the character.

public char Next()

Advances by one character and returns the character.