Tokenizer<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 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

The start of the source location.

content
String

The content value.

type
TSymbolType

The symbol type.

errors
IEnumerable<RazorError>

The razor error.

Returns

TSymbol

A language symbol type for the tokenizer.

Applies to