LanguageCharacteristics<TTokenizer,TSymbol,TSymbolType>.CreateSymbol Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The symbol for the code language.