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)

protected abstract TSymbol CreateSymbol(
	SourceLocation start,
	string content,
	TSymbolType type,
	IEnumerable<RazorError> errors
)

Parameters

start
Type: System.Web.Razor.Text.SourceLocation
The start of the source location.
content
Type: System.String
The content value.
type
Type: TSymbolType
The symbol type.
errors
Type: System.Collections.Generic.IEnumerable<RazorError>
The razor error.

Return Value

Type: TSymbol
A language symbol type for the tokenizer.
Show: