API Browser

Property

InvocationTargets

val InvocationTargets: MacroInvocationTargets

Declaring type: IMacroDefinition
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: IMacroDefinition.cs

Defined by IMacroDefinition.InvocationTargets · Default implementation provided.

Interface implementation: Default implementation provided.

Gets the grammar positions in which a freestanding macro can appear.

Property value

MacroInvocationTargets

Remarks

Attached macros ignore this value. Expression position remains the compatibility default for class-authored freestanding macros.