go/scanner.ErrorList.Add (method)
4 uses
go/scanner (current package)
errors.go#L40: func (p *ErrorList) Add(pos token.Position, msg string) {
go/ast
resolve.go#L22: p.errors.Add(p.fset.Position(pos), msg)
go/parser
parser.go#L79: eh := func(pos token.Position, msg string) { p.errors.Add(pos, msg) }
parser.go#L370: p.errors.Add(epos, msg)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |