AngleSharp by Florian Rappl

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

 CssToken

abstract class CssToken
The base class token for the CSS parser.
public string Data { get; }

Gets the data of the token.

public CssTokenType Type { get; }

Gets the type of the token.

public CssToken(CssTokenType type, string data)

public static CssDelimToken Delim(char c)

Creates a new CSS delimiter token.

Converts the data to an identifier value. Uses inherit for inherit.

public virtual string ToValue()

Gets a string which represents the original value.