VBTokenizer.CreateSymbol Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Creates a domain of symbols.
Namespace: System.Web.Razor.Tokenizer
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Overrides Function CreateSymbol ( _
start As SourceLocation, _
content As String, _
type As VBSymbolType, _
errors As IEnumerable(Of RazorError) _
) As VBSymbol
'Usage
Dim start As SourceLocation
Dim content As String
Dim type As VBSymbolType
Dim errors As IEnumerable(Of RazorError)
Dim returnValue As VBSymbol
returnValue = Me.CreateSymbol(start, _
content, type, errors)
protected override VBSymbol CreateSymbol(
SourceLocation start,
string content,
VBSymbolType type,
IEnumerable<RazorError> errors
)
protected:
virtual VBSymbol^ CreateSymbol(
SourceLocation start,
String^ content,
VBSymbolType type,
IEnumerable<RazorError^>^ errors
) override
abstract CreateSymbol :
start:SourceLocation *
content:string *
type:VBSymbolType *
errors:IEnumerable<RazorError> -> VBSymbol
override CreateSymbol :
start:SourceLocation *
content:string *
type:VBSymbolType *
errors:IEnumerable<RazorError> -> VBSymbol
protected override function CreateSymbol(
start : SourceLocation,
content : String,
type : VBSymbolType,
errors : IEnumerable<RazorError>
) : VBSymbol
Parameters
- start
Type: System.Web.Razor.Text.SourceLocation
The source location.
- content
Type: System.String
The content value.
- type
Type: System.Web.Razor.Tokenizer.Symbols.VBSymbolType
The VBSymbolType.
- errors
Type: System.Collections.Generic.IEnumerable<RazorError>
The razor error.
Return Value
Type: System.Web.Razor.Tokenizer.Symbols.VBSymbol
A domain of symbols.