Class
HtmlCssSyntaxDocument
OfficeIMO.Html.Css
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
Returns
HtmlCssSourcePositionpublic override string ToString() #Returns a string that represents the current object.
Returns
string A string that represents the current object.Inherited Methods
Properties
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.