Share via


LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType>.CreateTokenizer Method

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.

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

Syntax

'Declaration
Public MustOverride Function CreateTokenizer ( _
    source As ITextDocument _
) As TTokenizer
'Usage
Dim instance As LanguageCharacteristics 
Dim source As ITextDocument 
Dim returnValue As TTokenizer

returnValue = instance.CreateTokenizer(source)
public abstract TTokenizer CreateTokenizer(
    ITextDocument source
)
public:
virtual TTokenizer CreateTokenizer(
    ITextDocument^ source
) abstract
abstract CreateTokenizer : 
        source:ITextDocument -> 'TTokenizer 
public abstract function CreateTokenizer(
    source : ITextDocument
) : TTokenizer

Parameters

Return Value

Type: TTokenizer
A Razor code language tokenizer for the specified source document.

See Also

Reference

LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType> Class

System.Web.Razor.Parser Namespace