Share via


LanguageCharacteristics<TTokenizer,TSymbol,TSymbolType>.CreateSymbol Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a code language symbol with the specified source location with the specified source location as the start marker.

protected abstract TSymbol CreateSymbol (System.Web.Razor.Text.SourceLocation location, 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 (location As SourceLocation, content As String, type As TSymbolType, errors As IEnumerable(Of RazorError)) As TSymbol

Parameters

location
SourceLocation

The source location as the start marker.

content
String

The content.

type
TSymbolType

The enumeration type for the language symbol.

errors
IEnumerable<RazorError>

The collection of error.

Returns

TSymbol

The symbol for the code language.

Applies to