MCPcopy Index your code
hub / github.com/microsoft/typescript-go / NewNodeFactory

Function NewNodeFactory

internal/ast/ast.go:70–72  ·  view source on GitHub ↗
(hooks NodeFactoryHooks)

Source from the content-addressed store, hash-verified

68}
69
70func NewNodeFactory(hooks NodeFactoryHooks) *NodeFactory {
71 return &NodeFactory{hooks: hooks}
72}
73
74func newNode(kind Kind, data nodeData, hooks NodeFactoryHooks) *Node {
75 n := data.AsNode()

Callers 9

createSnippetPrinterFunction · 0.92
removeUnusedImportsFunction · 0.92
coalesceImportsWorkerFunction · 0.92
coalesceExportsWorkerFunction · 0.92
NewNodeFactoryFunction · 0.92
newASTDecoderFunction · 0.92
createTokenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected