Skip to content
callcount

package

github.com/microsoft/typescript-go/internal/ast

third-party

57 third-party functions from github.com/microsoft/typescript-go/internal/ast, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
10,762
non-test, non-generated
all calls
12,010
total callsites
functions
57
ranked in this snapshot
origin
ext
third-party

members

Functions in github.com/microsoft/typescript-go/internal/ast

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
NodeDefault.AsNode 1,446
Node.Name 828
Node.Text 669
Node.Expression 640
NodeFactory.NewNodeList 410
Node.End 363
NodeVisitor.VisitNode 346
Node.Pos 315
IsIdentifier 311
NodeFactory.NewIdentifier 295
Node.AsBinaryExpression 261
Node.Type 259
GetSourceFileOfNode 211
Node.Initializer 207
NodeVisitor.VisitEachChild 197
Node.Symbol 196
SourceFile.FileName 191
SourceFile.Text 181
SourceFile.Path 161
Node.Body 137
NodeVisitor.VisitNodes 119
Node.AsSourceFile 110
FindAncestor 110
Node.AsNode 108
NewCompilerDiagnostic 107
NodeFactory.NewToken 104
ModifiersBase.Modifiers 100
HasSyntacticModifier 100
Node.Elements 100
propagateSubtreeFacts 97
IsPropertyAccessExpression 97
NodeFactory.NewPropertyAccessExpression 94
IsBinaryExpression 94
Node.TagName 93
Node.Parameters 89
Node.AsElementAccessExpression 83
IsInJSFile 83
IsPrivateIdentifier 83
Node.ForEachChild 81
IsClassLike 81
IsPropertyDeclaration 80
IsBindingPattern 77
IsSourceFile 77
Node.AsIdentifier 76
Node.AsQualifiedName 74
Node.AsParameterDeclaration 73
Node.AsImportClause 72
IsVariableDeclaration 72
NodeFactory.NewStringLiteral 71
Diagnostic.AddRelatedInfo 69
IsComputedPropertyName 69
NodeFactory.NewExpressionStatement 68
NodeFactory.NewBlock 67
GetNameOfDeclaration 66
IsParameterDeclaration 65
IsStatic 65
IsFunctionLike 64