Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlCssSyntaxDocument

OfficeIMO.Html.Css

Namespace
OfficeIMO.Html.Css
Assembly
OfficeIMO.Html.Core
Source revision
56dd0d38e0b5 with working tree changes
Modifiers
abstract

Base type for a source-preserving CSS syntax result.

Inheritance

  • object
  • HtmlCssSyntaxDocument

Derived Types

Methods

public HtmlCssSourcePosition GetPosition(int offset) #

Maps an exact UTF-16 offset to a one-based line and column.

Parameters

offset int required
public string ToCss() #

Returns the original input unchanged.

Returns

string
public override string ToString() #

Returns a string that represents the current object.

Returns

string A string that represents the current object.

Properties

public string Source { get; } #

Exact original CSS input.

public IReadOnlyList<HtmlCssToken> Tokens { get; } #

All lexical tokens, including trivia and the final end-of-input token.

public IReadOnlyList<HtmlCssSyntaxNode> Contents { get; } #

Rules, declarations, and invalid recovered source in authored order.

public IReadOnlyList<HtmlCssSyntaxDiagnostic> Diagnostics { get; } #

Syntax recovery diagnostics. Unknown names and values do not produce diagnostics.