ParserResults Class

Definition

Represents the results of parsing a Razor document

public ref class ParserResults
public class ParserResults
type ParserResults = class
Public Class ParserResults
Inheritance
ParserResults
Derived

Constructors

ParserResults(Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Instantiates a new ParserResults instance.

ParserResults(Boolean, Block, IEnumerable<TagHelperDescriptor>, ErrorSink)

Instantiates a new ParserResults instance.

Properties

Document

The root node in the document's syntax tree.

ErrorSink

Used to aggregate RazorErrors.

ParserErrors

The list of errors which occurred during parsing.

Prefix

Text used as a required prefix when matching HTML.

Success

Indicates if parsing was successful (no errors).

TagHelperDescriptors

The TagHelperDescriptors found for the current Razor document.

Applies to