LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType> Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Provides methods that define the behavior of a Razor code language.
Inheritance Hierarchy
System.Object
System.Web.Razor.Parser.LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType>
System.Web.Razor.Parser.CSharpLanguageCharacteristics
System.Web.Razor.Parser.HtmlLanguageCharacteristics
System.Web.Razor.Parser.VBLanguageCharacteristics
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public MustInherit Class LanguageCharacteristics(Of TTokenizer As Tokenizer(Of TSymbol, TSymbolType), TSymbol As SymbolBase(Of TSymbolType), TSymbolType)
'Usage
Dim instance As LanguageCharacteristics(Of TTokenizer, TSymbol, TSymbolType)
public abstract class LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType>
where TTokenizer : Tokenizer<TSymbol, TSymbolType>
where TSymbol : SymbolBase<TSymbolType>
generic<typename TTokenizer, typename TSymbol, typename TSymbolType>
where TTokenizer : Tokenizer<TSymbol, TSymbolType>
where TSymbol : SymbolBase<TSymbolType>
public ref class LanguageCharacteristics abstract
[<AbstractClassAttribute>]
type LanguageCharacteristics<'TTokenizer, 'TSymbol, 'TSymbolType when 'TTokenizer : Tokenizer<'TSymbol, 'TSymbolType> when 'TSymbol : SymbolBase<'TSymbolType>> = class end
JScript does not support generic types and methods.
Type Parameters
- TTokenizer
The type of the code tokenizer for the Razor language.
- TSymbol
The type for the language symbol.
- TSymbolType
The enumeration type for the language symbol.
The LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType> | 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 LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType> class. |
Top
Methods
Name | Description | |
---|---|---|
CreateMarkerSymbol | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a code language symbol with the specified source location as the start marker. | |
CreateSymbol | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a code language symbol with the specified source location with the specified source location as the start marker. | |
CreateTokenizer | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a Razor code language tokenizer for the specified source document. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FlipBracket | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the opposite bracket symbol for the specified bracket symbol. | |
GetHashCode | (Inherited from Object.) | |
GetKnownSymbolType | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the specific language symbol type for the given symbol type. | |
GetSample | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets the actual symbol for the given language symbol type. | |
GetType | (Inherited from Object.) | |
IsCommentBody | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is a comment body type. | |
IsCommentStar | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is a comment star type. | |
IsCommentStart | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is a comment start type. | |
IsIdentifier | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is an identifier type. | |
IsKeyword | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is a keyword type. | |
IsKnownSymbolType | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol type is a known symbol type. | |
IsNewLine | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is a new line type. | |
IsTransition | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is a transition type. | |
IsUnknown | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is an unknown type. | |
IsWhiteSpace | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is a whitespace type. | |
KnowsSymbolType | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the symbol is an unknown type. | |
MemberwiseClone | (Inherited from Object.) | |
SplitSymbol | Splits the content of the code language symbol at the specified index. | |
TokenizeString(String) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Splits the specified string into tokens. | |
TokenizeString(SourceLocation, String) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Splits the specified string into tokens. | |
ToString | (Inherited from Object.) |
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.