MCPcopy
hub / github.com/alibaba/lowcode-engine / [skeletonSymbol]

Method [skeletonSymbol]

packages/shell/src/api/skeleton.ts:19–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 private readonly pluginName: string;
18
19 get [skeletonSymbol](): ISkeleton {
20 if (this.workspaceMode) {
21 return this[innerSkeletonSymbol];
22 }
23 const workspace = globalContext.get('workspace');
24 if (workspace.isActive) {
25 if (!workspace.window?.innerSkeleton) {
26 logger.error('skeleton api 调用时机出现问题,请检查');
27 return this[innerSkeletonSymbol];
28 }
29 return workspace.window.innerSkeleton;
30 }
31
32 return this[innerSkeletonSymbol];
33 }
34
35 constructor(
36 skeleton: ISkeleton,

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected