Method
CreateEmbeddedLanguageProjection
func CreateEmbeddedLanguageProjection(languageId: string, text: string) -> MacroEmbeddedLanguageProjection
Declaring type: TokenTreeMacroContext
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: TokenTreeMacroContext.cs
Creates a position-preserving embedded-language projection for this macro body.
Parameters
| Name | Type | Description |
|---|---|---|
languageId |
String | |
text |
String |