Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

HtmlCssTokenKind

OfficeIMO.Html.Css

Namespace
OfficeIMO.Html.Css
Assembly
OfficeIMO.Html.Core
Source revision
56dd0d38e0b5 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

CSS Syntax token categories, with comments retained as source trivia.

Inheritance

  • Enum
  • HtmlCssTokenKind

Usage

Explore 29 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const HtmlCssTokenKind Identifier #

An identifier.

Value: 0
public const HtmlCssTokenKind Function #

An identifier and opening function parenthesis.

Value: 1
public const HtmlCssTokenKind AtKeyword #

An at-keyword.

Value: 2
public const HtmlCssTokenKind Hash #

A hash token.

Value: 3
public const HtmlCssTokenKind String #

A quoted string, including one terminated by end of input.

Value: 4
public const HtmlCssTokenKind BadString #

A string terminated by an unescaped newline.

Value: 5
public const HtmlCssTokenKind Url #

An unquoted URL.

Value: 6
public const HtmlCssTokenKind BadUrl #

A malformed unquoted URL.

Value: 7
public const HtmlCssTokenKind Number #

A number. Its authored representation remains in the source.

Value: 8
public const HtmlCssTokenKind Percentage #

A percentage.

Value: 9
public const HtmlCssTokenKind Dimension #

A number followed by a unit identifier.

Value: 10
public const HtmlCssTokenKind Whitespace #

CSS whitespace.

Value: 11
public const HtmlCssTokenKind Comment #

A comment retained as trivia; it is not whitespace.

Value: 12
public const HtmlCssTokenKind Colon #

A colon.

Value: 13
public const HtmlCssTokenKind Semicolon #

A semicolon.

Value: 14
public const HtmlCssTokenKind Comma #

A comma.

Value: 15
public const HtmlCssTokenKind OpenParenthesis #

An opening parenthesis.

Value: 16
public const HtmlCssTokenKind CloseParenthesis #

A closing parenthesis.

Value: 17
public const HtmlCssTokenKind OpenBracket #

An opening square bracket.

Value: 18
public const HtmlCssTokenKind CloseBracket #

A closing square bracket.

Value: 19
public const HtmlCssTokenKind OpenBrace #

An opening curly brace.

Value: 20
public const HtmlCssTokenKind CloseBrace #

A closing curly brace.

Value: 21
public const HtmlCssTokenKind Cdo #

A CSS CDO token.

Value: 22
public const HtmlCssTokenKind Cdc #

A CSS CDC token.

Value: 23
public const HtmlCssTokenKind Delimiter #

Any other delimiter.

Value: 24
public const HtmlCssTokenKind EndOfFile #

End of input, with a zero-length source span.

Value: 25