MCPcopy Create free account
hub / github.com/SplootCode/splootcode / shallowSerialize

Method shallowSerialize

packages/core/src/language/node.ts:309–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

307 }
308
309 shallowSerialize(): SerializedNode {
310 const serNode: SerializedNode = {
311 type: this.type,
312 properties: { ...this.properties },
313 meta: Object.fromEntries(this.metadata),
314 childSets: {},
315 }
316 return serNode
317 }
318
319 recursivelySetLineNumbers(lineNumber: number): number {
320 throw new Error('Method not implemented.')

Callers 1

visitNodeMiddleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected