Share via


RazorEditorParser Class

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.

Inheritance Hierarchy

System.Object
  System.Web.Razor.RazorEditorParser

Namespace:  System.Web.Razor
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Class RazorEditorParser _
    Implements IDisposable
'Usage
Dim instance As RazorEditorParser
public class RazorEditorParser : IDisposable
public ref class RazorEditorParser : IDisposable
type RazorEditorParser =  
    class 
        interface IDisposable 
    end
public class RazorEditorParser implements IDisposable

The RazorEditorParser type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property 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.
Public property 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.
Public property 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.
Public property 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.

Top

Methods

  Name Description
Public method CheckForStructureChanges 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.
Public method 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.
Protected method 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.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method 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.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event 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.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Razor Namespace