MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / markNodeSynthesized

Function markNodeSynthesized

packages/transpiler/src/BuilderHelpers.ts:148–157  ·  view source on GitHub ↗
(node: ts.Node)

Source from the content-addressed store, hash-verified

146}
147
148function markNodeSynthesized(node: ts.Node): ts.Node {
149 for (const c of node.getChildren()) {
150 markNodeSynthesized(c);
151 }
152 ts.setTextRange(node, {
153 pos: -1,
154 end: -1
155 });
156 return node;
157}
158
159export function cloneTypeNode<T extends ts.Node>(node: T): T {
160 if (ts.isUnionTypeNode(node)) {

Callers 1

createNodeFromSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected