Debian Codegraph @

src/go/internal/scannerhooks/hooks.go

raw
1 // Copyright 2025 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // Package scannerhooks defines nonexported channels between parser and scanner.
6 // Ideally this package could be eliminated by adding API to scanner.
7 package scannerhooks
8
9 import "go/token"
10
11 var StringEnd func(scanner any) token.Pos