Method
CreateFragmentParameter
func CreateFragmentParameter(name: string, type: ITypeSymbol, declarationSpan: TextSpan) -> MacroFragmentLocal
Declaring type: TokenTreeMacroContext
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: TokenTreeMacroContext.cs
Creates a parameter visible inside a Raven fragment and maps it to its declaration in the macro carrier header.
Parameters
| Name | Type | Description |
|---|---|---|
name |
String | |
type |
ITypeSymbol | |
declarationSpan |
TextSpan |