API Browser

Member group

CreateSequenceElementLocal

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

Overloads / Variants

CreateSequenceElementLocal

func CreateSequenceElementLocal(name: string, sourceExpressionSpan: TextSpan, declarationSpan: TextSpan) -> MacroFragmentLocal

Source file: TokenTreeMacroContext.cs

Creates a fragment local whose type is inferred from an authored sequence expression and whose declaration is identified by a body-relative DSL span.

Parameters

Name Type Description
name String
sourceExpressionSpan TextSpan
declarationSpan TextSpan

Return value

MacroFragmentLocal

CreateSequenceElementLocal

func CreateSequenceElementLocal(name: string, sourceExpressionSpan: TextSpan) -> MacroFragmentLocal

Source file: TokenTreeMacroContext.cs

Creates a fragment local whose type is inferred from an authored sequence expression.

Parameters

Name Type Description
name String
sourceExpressionSpan TextSpan

Return value

MacroFragmentLocal