Share via


Tokenizer<TSymbol, TSymbolType>.CreateSymbol Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates a language symbol type for the tokenizer with the specified content.

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

Syntax

'Declaration
Protected MustOverride Function CreateSymbol ( _
    start As SourceLocation, _
    content As String, _
    type As TSymbolType, _
    errors As IEnumerable(Of RazorError) _
) As TSymbol
'Usage
Dim start As SourceLocation 
Dim content As String 
Dim type As TSymbolType
Dim errors As IEnumerable(Of RazorError)
Dim returnValue As TSymbol

returnValue = Me.CreateSymbol(start, _
    content, type, errors)
protected abstract TSymbol CreateSymbol(
    SourceLocation start,
    string content,
    TSymbolType type,
    IEnumerable<RazorError> errors
)
protected:
virtual TSymbol CreateSymbol(
    SourceLocation start, 
    String^ content, 
    TSymbolType type, 
    IEnumerable<RazorError^>^ errors
) abstract
abstract CreateSymbol : 
        start:SourceLocation * 
        content:string * 
        type:'TSymbolType * 
        errors:IEnumerable<RazorError> -> 'TSymbol 
protected abstract function CreateSymbol(
    start : SourceLocation, 
    content : String, 
    type : TSymbolType, 
    errors : IEnumerable<RazorError>
) : TSymbol

Parameters

Return Value

Type: TSymbol
A language symbol type for the tokenizer.

See Also

Reference

Tokenizer<TSymbol, TSymbolType> Class

System.Web.Razor.Tokenizer Namespace