Method
CreateTokenInfo
func CreateTokenInfo(token: SyntaxToken, kindName: string? = null, classification: MacroTokenClassification = MacroTokenClassification.Default, symbol: ISymbol? = null) -> MacroTokenInfo
Declaring type: TokenTreeMacroContext
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: TokenTreeMacroContext.cs
Creates editor metadata for a token read from this macro body's token stream.
Parameters
| Name | Type | Description |
|---|---|---|
token |
SyntaxToken | |
kindName |
String? | |
classification |
MacroTokenClassification | |
symbol |
ISymbol? |