go/scanner.Error.Pos (field)
10 uses
go/scanner (current package)
errors.go#L20: Pos token.Position
errors.go#L26: if e.Pos.Filename != "" || e.Pos.IsValid() {
errors.go#L29: return e.Pos.String() + ": " + e.Msg
errors.go#L52: e := &p[i].Pos
errors.go#L53: f := &p[j].Pos
errors.go#L83: if e.Pos.Filename != last.Filename || e.Pos.Line != last.Line {
errors.go#L84: last = e.Pos
go/parser
parser.go#L362: if n > 0 && p.errors[n-1].Pos.Line == epos.Line {
![]() |
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. |