MCPcopy Create free account
hub / github.com/microsoft/typescript-go / SetEmitFlags

Method SetEmitFlags

internal/printer/emitcontext.go:559–561  ·  view source on GitHub ↗
(node *ast.Node, flags EmitFlags)

Source from the content-addressed store, hash-verified

557}
558
559func (c *EmitContext) SetEmitFlags(node *ast.Node, flags EmitFlags) {
560 c.emitNodes.Get(node).emitFlags = flags
561}
562
563func (c *EmitContext) AddEmitFlags(node *ast.Node, flags EmitFlags) {
564 c.emitNodes.Get(node).emitFlags |= flags

Callers 15

getJSDocParamAnnotationFunction · 0.95
EndLexicalEnvironmentMethod · 0.95
AddLexicalDeclarationMethod · 0.95
typeToStringForDiagFunction · 0.80
organizeImportsWorkerFunction · 0.80
removeUnusedImportsFunction · 0.80
coalesceImportsWorkerFunction · 0.80
coalesceExportsWorkerFunction · 0.80
NewUnscopedHelperNameMethod · 0.80

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected