Skip to content

LexicalScope

import { LexicalScope } from "@alloy-js/csharp";
<LexicalScope value={OutputScope} />
childrenoptionalChildren
valueOutputScopeThe scope to use. If not provided, a new scope will be created.
import { LexicalScope } from "@alloy-js/csharp";
<LexicalScope
metadata={Record<string, unknown>}
name="string"
ownerSymbol={OutputSymbol}
/>
childrenoptionalChildren
metadataoptional Record<string, unknown>Additional metadata for the scope.
nameoptional stringThe name of this scope.
ownerSymboloptionalOutputSymbolCreate a member scope with the owner symbol providing the in-scope symbols.