Share via


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
Protected method 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
Public method 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.
Protected method 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.
Public method 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.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method 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.
Public method GetHashCode (Inherited from Object.)
Public method 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.
Public method 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.
Public method GetType (Inherited from Object.)
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Protected method MemberwiseClone (Inherited from Object.)
Public method SplitSymbol Splits the content of the code language symbol at the specified index.
Public method 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.
Public method 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.
Public method 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.

See Also

Reference

System.Web.Razor.Parser Namespace