Share via


ParserVisitor Class

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

Represents a parser visitor.

Inheritance Hierarchy

System.Object
  System.Web.Razor.Parser.ParserVisitor
    System.Web.Razor.Generator.RazorCodeGenerator
    System.Web.Razor.Parser.CallbackVisitor

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

Syntax

'Declaration
Public MustInherit Class ParserVisitor
'Usage
Dim instance As ParserVisitor
public abstract class ParserVisitor
public ref class ParserVisitor abstract
[<AbstractClassAttribute>]
type ParserVisitor =  class end
public abstract class ParserVisitor

The ParserVisitor type exposes the following members.

Constructors

  Name Description
Protected method ParserVisitor This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the ParserVisitor class.

Top

Properties

  Name Description
Public property CancelToken This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the cancellation token.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnComplete This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates that a visitor method has completed execution.
Public method ThrowIfCanceled This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public method ToString (Inherited from Object.)
Public method VisitBlock This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the specified block.
Public method VisitEndBlock This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the specified black after parsing.
Public method VisitError This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the given razor error.
Public method VisitSpan This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the specified span.
Public method VisitStartBlock This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the specified block before parsing.

Top

Extension Methods

  Name Description
Public Extension Method Visit (Defined by ParserVisitorExtensions.)

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.Parser Namespace