Span Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Represents a Razor parse tree node that contains the all the content of a block node.
Inheritance Hierarchy
System.Object
System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode
System.Web.Razor.Parser.SyntaxTree.Span
Namespace: System.Web.Razor.Parser.SyntaxTree
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Class Span _
Inherits SyntaxTreeNode
'Usage
Dim instance As Span
public class Span : SyntaxTreeNode
public ref class Span : public SyntaxTreeNode
type Span =
class
inherit SyntaxTreeNode
end
public class Span extends SyntaxTreeNode
The Span type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Span | 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 Span class. |
Top
Properties
Name | Description | |
---|---|---|
CodeGenerator | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the code generator for the span. | |
Content | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the content of the span. | |
EditHandler | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the handler for span edits. | |
IsBlock | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether this node is a block node. (Overrides SyntaxTreeNode.IsBlock.) | |
Kind | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the kind for this span. | |
Length | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the length of the span content. (Overrides SyntaxTreeNode.Length.) | |
Next | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the next span in the tree node. | |
Parent | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the parent tree node of the current tree node. (Inherited from SyntaxTreeNode.) | |
Previous | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the previous span in the tree node. | |
Start | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the start character location of the span. (Overrides SyntaxTreeNode.Start.) | |
Symbols | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the symbols used to generate the code for the span. |
Top
Methods
Name | Description | |
---|---|---|
Accept | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Accepts visit from the specified visitor. (Overrides SyntaxTreeNode.Accept(ParserVisitor).) | |
Change | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Changes the span builder for this span. | |
ChangeStart | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Sets the start character location of this span. | |
Equals | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified object is equal to this span. (Overrides Object.Equals(Object).) | |
EquivalentTo | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified node is equivalent to this span. (Overrides SyntaxTreeNode.EquivalentTo(SyntaxTreeNode).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the hash code for this current span. (Overrides Object.GetHashCode().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ReplaceWith | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Replaces the span builder for this span with the specified span builder. | |
ToString | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the string representation of this current span. (Overrides Object.ToString().) |
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.