Skip to content

LexicalScope

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