Tokenizer<TSymbol,TSymbolType>.CreateSymbol(SourceLocation, String, TSymbolType, IEnumerable<RazorError>) Tokenizer<TSymbol,TSymbolType>.CreateSymbol(SourceLocation, String, TSymbolType, IEnumerable<RazorError>) Tokenizer<TSymbol,TSymbolType>.CreateSymbol(SourceLocation, String, TSymbolType, 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 language symbol type for the tokenizer with the specified content.

protected abstract TSymbol CreateSymbol (System.Web.Razor.Text.SourceLocation start, string content, TSymbolType type, System.Collections.Generic.IEnumerable<System.Web.Razor.Parser.SyntaxTree.RazorError> errors);
abstract member CreateSymbol : System.Web.Razor.Text.SourceLocation * string * 'SymbolType * seq<System.Web.Razor.Parser.SyntaxTree.RazorError> -> 'Symbol
Protected MustOverride Function CreateSymbol (start As SourceLocation, content As String, type As TSymbolType, errors As IEnumerable(Of RazorError)) As TSymbol
Parameters
start
SourceLocation SourceLocation SourceLocation

The start of the source location.

content
String String String

The content value.

type

The symbol type.

errors
IEnumerable<RazorError>

The razor error.

Returns
TSymbol TSymbol TSymbol

A language symbol type for the tokenizer.

Applies to