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 | |
---|---|---|
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 | |
---|---|---|
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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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. | |
ThrowIfCanceled | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. | |
ToString | (Inherited from Object.) | |
VisitBlock | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the specified block. | |
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. | |
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. | |
VisitSpan | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Visits the specified span. | |
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 | |
---|---|---|
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.