HtmlTokenizer.CreateSymbol(SourceLocation, String, HtmlSymbolType, IEnumerable<RazorError>) HtmlTokenizer.CreateSymbol(SourceLocation, String, HtmlSymbolType, IEnumerable<RazorError>) HtmlTokenizer.CreateSymbol(SourceLocation, String, HtmlSymbolType, IEnumerable<RazorError>) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a symbol for the specified parameters of the html tokenizer.

protected override System.Web.Razor.Tokenizer.Symbols.HtmlSymbol CreateSymbol (System.Web.Razor.Text.SourceLocation start, string content, System.Web.Razor.Tokenizer.Symbols.HtmlSymbolType type, System.Collections.Generic.IEnumerable<System.Web.Razor.Parser.SyntaxTree.RazorError> errors);
override this.CreateSymbol : System.Web.Razor.Text.SourceLocation * string * System.Web.Razor.Tokenizer.Symbols.HtmlSymbolType * seq<System.Web.Razor.Parser.SyntaxTree.RazorError> -> System.Web.Razor.Tokenizer.Symbols.HtmlSymbol
Protected Overrides Function CreateSymbol (start As SourceLocation, content As String, type As HtmlSymbolType, errors As IEnumerable(Of RazorError)) As HtmlSymbol
Parameters
start
SourceLocation SourceLocation SourceLocation

The source location.

content
String String String

The content string.

type
HtmlSymbolType HtmlSymbolType HtmlSymbolType

The type of html symbol.

errors
IEnumerable<RazorError>

The razor errors.

Returns

A symbol to create for the specified parameters of the html tokenizer.

Applies to