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

Method bindExpressionStatement

internal/binder/binder.go:2137–2141  ·  view source on GitHub ↗
(node *ast.Node)

Source from the content-addressed store, hash-verified

2135}
2136
2137func (b *Binder) bindExpressionStatement(node *ast.Node) {
2138 stmt := node.AsExpressionStatement()
2139 b.bind(stmt.Expression)
2140 b.maybeBindExpressionFlowIfCall(stmt.Expression)
2141}
2142
2143func (b *Binder) maybeBindExpressionFlowIfCall(node *ast.Node) {
2144 // A top level or comma expression call expression with a dotted function name and at least one argument

Callers 1

bindChildrenMethod · 0.95

Calls 3

bindMethod · 0.95
AsExpressionStatementMethod · 0.80

Tested by

no test coverage detected