Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/typescript-go
/ PropertyNameOrName
Method
PropertyNameOrName
internal/ast/ast.go:870–876 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
868
}
869
870
func
(n *Node) PropertyNameOrName() *Node {
871
name := n.PropertyName()
872
if
name == nil {
873
name = n.Name()
874
}
875
return
name
876
}
877
878
func
(n *Node) IsTypeOnly() bool {
879
switch
n.Kind {
Callers
15
getJSDocOrTag
Function · 0.80
getStringLiteralCompletionEntries
Method · 0.80
getCompletionData
Method · 0.80
markNodeAssignmentsWorker
Method · 0.80
GetExportSpecifierLocalTargetSymbol
Method · 0.80
getBindingElementPropertyName
Function · 0.80
aliasMarkingVisitorWorker
Method · 0.80
checkImportBinding
Method · 0.80
checkExportSpecifier
Method · 0.80
checkVariableLikeDeclaration
Method · 0.80
checkAliasSymbol
Method · 0.80
getTargetOfModuleDefault
Method · 0.80
Calls
2
PropertyName
Method · 0.95
Name
Method · 0.95
Tested by
no test coverage detected