API Browser

Class

MacroExpansionResultBuilder

class MacroExpansionResultBuilder

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

Inheritance: Object → MacroExpansionResultBuilder

Collects expansion contributions produced while a macro declaration executes.

Remarks

Contribution order follows execution order. Replacements supersede earlier replacements, while introduced members and editor metadata append in order. In source macro declarations, expand finalizes the accumulated result and returns it from the current execution path.

Constructors

1 item
MacroExpansionResultBuilder() No summary available.

Methods

19 items
BuildAttached() -> MacroExpansionResult No summary available.
Equals(obj: object?) -> bool Determines whether the specified object is equal to the current object. Inherited from Object.Equals
Expand(expression: ExpressionSyntax) -> () No summary available.
Expand(node: SyntaxNode) -> () No summary available.
Expand(result: FreestandingMacroExpansionResult) -> () Applies a complete expansion result produced by a lower-level macro API.
Expand(result: MacroExpansionResult) -> () Applies a complete attached expansion result produced by a lower-level macro API.
Expand(statement: StatementSyntax) -> () No summary available.
Fragment(region: MacroFragmentRegion) -> () Contributes an ordinary Raven fragment for editor tooling.
Fragment(regions: IEnumerable<MacroFragmentRegion>) -> () Contributes ordinary Raven fragments for editor tooling.
GetHashCode() -> int Serves as the default hash function. Inherited from Object.GetHashCode
GetType() -> Type Gets the System.Type of the current instance. Inherited from Object.GetType
Replace(declaration: SyntaxNode) -> () No summary available.
Token(tokenInfo: MacroTokenInfo) -> () Contributes metadata for a token in the macro body.
Token(tokenInfos: IEnumerable<MacroTokenInfo>) -> () Contributes metadata for tokens in the macro body.
ToString() -> string? Returns a string that represents the current object. Inherited from Object.ToString