Table of Contents

Class StringSourceExtensions

Namespace
AngleSharp.Text
Assembly
AngleSharp.dll

Extensions for the string source helper.

public static class StringSourceExtensions
Inheritance
StringSourceExtensions
Inherited Members

Methods

Back(StringSource, int)

Goes back n characters.

public static char Back(this StringSource source, int n)

Parameters

source StringSource
n int

Returns

char

Next(StringSource, int)

Goes back n characters.

public static char Next(this StringSource source, int n)

Parameters

source StringSource
n int

Returns

char

Peek(StringSource)

Gets the upcoming character without advancing.

public static char Peek(this StringSource source)

Parameters

source StringSource

Returns

char

SkipSpaces(StringSource)

Skips all spaces starting at the current character.

public static char SkipSpaces(this StringSource source)

Parameters

source StringSource

Returns

char