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.

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

generic<typename TTokenizer, typename TSymbol, typename TSymbolType>
where TTokenizer : Tokenizer<TSymbol, TSymbolType>
where TSymbol : SymbolBase<TSymbolType>
public ref class LanguageCharacteristics abstract

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.

  NameDescription
Protected methodLanguageCharacteristics<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

  NameDescription
Public methodCreateMarkerSymbolThis 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 methodCreateSymbolThis 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 methodCreateTokenizerThis 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 methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFlipBracketThis 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 methodGetHashCode (Inherited from Object.)
Public methodGetKnownSymbolTypeThis 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 methodGetSampleThis 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 methodGetType (Inherited from Object.)
Public methodIsCommentBodyThis 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 methodIsCommentStarThis 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 methodIsCommentStartThis 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 methodIsIdentifierThis 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 methodIsKeywordThis 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 methodIsKnownSymbolTypeThis 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 methodIsNewLineThis 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 methodIsTransitionThis 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 methodIsUnknownThis 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 methodIsWhiteSpaceThis 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 methodKnowsSymbolTypeThis 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 methodMemberwiseClone (Inherited from Object.)
Public methodSplitSymbolSplits the content of the code language symbol at the specified index.
Public methodTokenizeString(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 methodTokenizeString(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 methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: