RazorEditorParser Class

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parser used by editors to avoid reparsing the entire document on each text change.

public class RazorEditorParser : IDisposable
type RazorEditorParser = class
    interface IDisposable
Public Class RazorEditorParser
Implements IDisposable
Inheritance
RazorEditorParser
Implements

Constructors

RazorEditorParser(RazorEngineHost, String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Constructs the editor parser.

Properties

CurrentParseTree

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the current parse tree.

FileName

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the filename of the document to parse.

Host

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the host for the parse.

LastResultProvisional

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value indicating whether the last result of the parse was provisionally accepted for next partial parse.

Methods

CheckForStructureChanges(TextChange)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines if a change will cause a structural change to the document and if not, applies it to the existing tree. If a structural change would occur, automatically starts a reparse.

Dispose()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Releases all resources used by the current instance of the RazorEditorParser.

Dispose(Boolean)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Releases the unmanaged resources used by the RazorEditorParser class and optionally releases the managed resources.

GetAutoCompleteString()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Retrieves the auto complete string.

Events

DocumentParseComplete

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Event fired when a full reparse of the document completes.

Applies to