Skip to main content

CharacterReader Structure

Definition​

Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public ref struct CharacterReader
View Source
InheritanceObject → ValueType → CharacterReader

Constructors​

CharacterReader(ReadOnlySpan(Char))Initializes a new instance of the CharacterReader class

Properties​

End 
Peek 
Position 

Methods​

Equals(Object)Indicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCode()Returns the hash code for this instance.
(Inherited from ValueType)
GetType()Gets the Type of the current instance.
(Inherited from Object)
PeekWhitespace() 
Skip(Int32) 
SkipWhitespace() 
Take() 
TakeIf(Char) 
TakeIf(Func(Char, Boolean)) 
TakeUntil(Char) 
TakeWhile(Func(Char, Boolean)) 
ToString()Returns the fully qualified type name of this instance.
(Inherited from ValueType)
TryPeek(Int32) 

Extension Methods​

CheckKeyword(String)
(Defined by KeywordParser)
ParseIdentifier()
(Defined by IdentifierParser)
ParseStyleClass()
(Defined by StyleClassParser)
TakeIfKeyword(String)
(Defined by KeywordParser)

See Also​

Reference​

Avalonia.Utilities Namespace