Method
CreateExpressionFragmentRegion
func CreateExpressionFragmentRegion(bodyRelativeSpan: TextSpan, targetType: ITypeSymbol) -> MacroFragmentRegion
Declaring type: TokenTreeMacroContext
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: TokenTreeMacroContext.cs
Creates an ordinary Raven expression fragment with an expected target type.
Parameters
| Name | Type | Description |
|---|---|---|
bodyRelativeSpan |
TextSpan | |
targetType |
ITypeSymbol |