LanguageCharacteristics<TTokenizer,TSymbol,TSymbolType> Class

Definition

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.

public abstract class LanguageCharacteristics<TTokenizer,TSymbol,TSymbolType> where TTokenizer : Tokenizer<TSymbol,TSymbolType> where TSymbol : SymbolBase<TSymbolType>
type LanguageCharacteristics<'okenizer, 'Symbol, 'SymbolType (requires 'okenizer :> Tokenizer<'Symbol, 'SymbolType> and 'Symbol :> SymbolBase<'SymbolType>)> = class
Public MustInherit Class LanguageCharacteristics(Of TTokenizer, TSymbol, TSymbolType)

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.

Inheritance
LanguageCharacteristics<TTokenizer,TSymbol,TSymbolType>
Derived

Constructors

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.

Methods

CreateMarkerSymbol(SourceLocation)

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(SourceLocation, String, TSymbolType, IEnumerable<RazorError>)

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(ITextDocument)

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.

FlipBracket(TSymbolType)

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.

GetKnownSymbolType(KnownSymbolType)

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(TSymbolType)

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.

IsCommentBody(TSymbol)

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(TSymbol)

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(TSymbol)

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(TSymbol)

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(TSymbol)

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(TSymbol, KnownSymbolType)

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(TSymbol)

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(TSymbol)

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(TSymbol)

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(TSymbol)

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(KnownSymbolType)

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.

SplitSymbol(TSymbol, Int32, TSymbolType)

Splits the content of the code language symbol at the specified index.

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.

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.

Applies to