API Reference
Class
HtmlSemanticSourceLocation
Stable provenance for a semantic value interpreted from source HTML.
Inheritance
- Object
- HtmlSemanticSourceLocation
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property HtmlFeaturePreflightResult.FirstSourceLocation
- Property HtmlSemanticBlock.SourceLocation
- Property HtmlSemanticResource.SourceLocation
- Property HtmlSemanticRun.SourceLocation
- Property HtmlSemanticSection.SourceLocation
- Property HtmlSemanticTableCell.SourceLocation
- Property HtmlSemanticTableRow.SourceLocation
Accepted by parameters
- Constructor HtmlDiagnostic.HtmlDiagnostic
- Method HtmlDiagnostic.WithProvenance
- Method HtmlDiagnosticReport.Add
Methods
public override String ToString() #Returns:
StringInherited Methods
Properties
public String Selector { get; } #Deterministic CSS-like path identifying the source element.
public String ElementName { get; } #Lower-case source element name.
public Int32 Line { get; } #One-based source line, or zero when the parser has no source reference.
public Int32 Column { get; } #One-based source column, or zero when the parser has no source reference.
public Int32 Index { get; } #Zero-based character index, or -1 when unavailable.