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

Method checkStrictModeWithStatement

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

Source from the content-addressed store, hash-verified

1432}
1433
1434func (b *Binder) checkStrictModeWithStatement(node *ast.Node) {
1435 // Grammar checking for withStatement
1436 b.errorOnFirstToken(node, diagnostics.X_with_statements_are_not_allowed_in_strict_mode)
1437}
1438
1439func (b *Binder) checkStrictModeLabeledStatement(node *ast.Node) {
1440 // Grammar checking for labeledStatement

Callers 1

bindMethod · 0.95

Calls 1

errorOnFirstTokenMethod · 0.95

Tested by

no test coverage detected