API Browser

Interface

IMacroExecutor

interface IMacroExecutor

Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: IMacroExecutor.cs

Inherits: IMacroDefinition

Executes a macro through the compiler's erased invocation boundary.

Properties

15 items
AcceptsArguments: bool No summary available. Inherited from IMacroDefinition.AcceptsArguments · Defined by IMacroDefinition.AcceptsArguments · Default implementation provided.
Alias: string? Gets an optional alternate unqualified invocation name. Inherited from IMacroDefinition.Alias · Defined by IMacroDefinition.Alias · Default implementation provided.
ApplicationKind: MacroApplicationKind No summary available. Defined by IMacroExecutor.ApplicationKind · Required implementation (no default).
BodyRequirement: MacroBodyRequirement Gets whether an accepted carrier may compose with a trailing token body. Inherited from IMacroDefinition.BodyRequirement · Defined by IMacroDefinition.BodyRequirement · Default implementation provided.
CarrierKinds: MacroCarrierKinds Gets the source carrier shapes accepted by this macro. The default infers the compatibility form from the macro's typed inputs. Inherited from IMacroDefinition.CarrierKinds · Defined by IMacroDefinition.CarrierKinds · Default implementation provided.
Documentation: string? Gets optional documentation presented for this macro by language services. Macro declarations project their documentation comments automatically; class-authored macros may provide… Inherited from IMacroDefinition.Documentation · Defined by IMacroDefinition.Documentation · Default implementation provided.
DocumentationFormat: DocumentationFormat Gets the source format of Raven.CodeAnalysis.Macros.IMacroDefinition.Documentation. Inherited from IMacroDefinition.DocumentationFormat · Defined by IMacroDefinition.DocumentationFormat · Default implementation provided.
ExpressionResultType: Type? Gets the optional semantic result-type constraint for an expression macro. Inherited from IMacroDefinition.ExpressionResultType · Defined by IMacroDefinition.ExpressionResultType · Default implementation provided.
HasTokenBody: bool No summary available. Defined by IMacroExecutor.HasTokenBody · Default implementation provided.
InvocationTargets: MacroInvocationTargets Gets the grammar positions in which a freestanding macro can appear. Inherited from IMacroDefinition.InvocationTargets · Defined by IMacroDefinition.InvocationTargets · Default implementation provided.
Name: string Gets the declared name forming the final segment of the macro's canonical identity. Inherited from IMacroDefinition.Name · Defined by IMacroDefinition.Name · Default implementation provided.
Namespace: string Gets the namespace containing the macro's canonical identity. Inherited from IMacroDefinition.Namespace · Defined by IMacroDefinition.Namespace · Default implementation provided.
Parameters: ImmutableArray<MacroExecutorParameter> No summary available. Defined by IMacroExecutor.Parameters · Default implementation provided.
Targets: MacroTarget No summary available. Defined by IMacroExecutor.Targets · Default implementation provided.
TypeParameters: ImmutableArray<string> No summary available. Defined by IMacroExecutor.TypeParameters · Default implementation provided.

Methods

1 item
Expand(context: MacroExecutionContext) -> MacroExecutionResult No summary available. Defined by IMacroExecutor.Expand · Required implementation (no default).