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

Function getQuestionDotToken

internal/ast/utilities.go:357–359  ·  view source on GitHub ↗
(node *Expression)

Source from the content-addressed store, hash-verified

355}
356
357func getQuestionDotToken(node *Expression) *TokenNode {
358 return node.QuestionDotToken()
359}
360
361// Determines if node is the root expression of an OptionalChain
362func IsOptionalChainRoot(node *Expression) bool {

Callers 1

IsOptionalChainRootFunction · 0.85

Calls 1

QuestionDotTokenMethod · 0.80

Tested by

no test coverage detected