Skip to content
callcount

package

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

third-party

54 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,658
non-test, non-generated
all calls
11,966
total callsites
functions
54
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,450
Node.Name 835
Node.Text 669
Node.Expression 640
NodeFactory.NewNodeList 412
Node.End 365
NodeVisitor.VisitNode 346
Node.Pos 322
IsIdentifier 312
NodeFactory.NewIdentifier 296
Node.AsBinaryExpression 261
Node.Type 259
GetSourceFileOfNode 213
Node.Initializer 207
NodeVisitor.VisitEachChild 198
Node.Symbol 195
SourceFile.Text 188
SourceFile.FileName 178
SourceFile.Path 175
NewCompilerDiagnostic 145
Node.Body 137
NodeVisitor.VisitNodes 119
FindAncestor 111
Node.AsSourceFile 110
Node.AsNode 108
NodeFactory.NewToken 103
Node.Elements 103
HasSyntacticModifier 101
ModifiersBase.Modifiers 100
IsPropertyAccessExpression 98
propagateSubtreeFacts 97
NodeFactory.NewPropertyAccessExpression 94
IsBinaryExpression 94
Node.TagName 93
Node.Parameters 89
IsInJSFile 85
IsClassLike 84
Node.AsElementAccessExpression 83
IsPrivateIdentifier 83
IsPropertyDeclaration 81
Node.ForEachChild 80
IsBindingPattern 77
IsSourceFile 77
Node.AsIdentifier 76
Node.AsQualifiedName 76
Node.AsParameterDeclaration 75
Node.AsImportClause 72
IsVariableDeclaration 72
NodeFactory.NewStringLiteral 71
IsComputedPropertyName 70
NodeFactory.NewBlock 69
Diagnostic.AddRelatedInfo 69
NodeFactory.NewExpressionStatement 68
GetNameOfDeclaration 67