golang.org/x/mod/modfile.Position.Line (field)
15 uses
golang.org/x/mod/modfile (current package)
read.go#L21: Line int // line in input (starting at 1)
read.go#L30: p.Line += n
read.go#L346: pos: Position{Line: 1, LineRune: 1, Byte: 0},
read.go#L432: in.pos.Line++
read.go#L688: fmt.Fprintf(os.Stderr, "LINE %q :%d:%d #%d\n", c.Token, c.Start.Line, c.Start.LineRune, c.Start.Byte)
read.go#L696: fmt.Fprintf(os.Stderr, "pre %T :%d:%d #%d\n", x, start.Line, start.LineRune, start.Byte)
read.go#L713: fmt.Fprintf(os.Stderr, "SUFFIX %q :%d:%d #%d\n", c.Token, c.Start.Line, c.Start.LineRune, c.Start.Byte)
read.go#L723: fmt.Fprintf(os.Stderr, "post %T :%d:%d #%d :%d:%d #%d\n", x, start.Line, start.LineRune, start.Byte, end.Line, end.LineRune, end.Byte)
read.go#L740: if start.Line != end.Line {
read.go#L874: in.Error(fmt.Sprintf("syntax error (unterminated block started at %s:%d:%d)", in.filename, x.Start.Line, x.Start.LineRune))
rule.go#L602: pos = fmt.Sprintf("%s:%d:%d: ", e.Filename, e.Pos.Line, e.Pos.LineRune)
rule.go#L603: } else if e.Pos.Line > 0 {
rule.go#L604: pos = fmt.Sprintf("%s:%d: ", e.Filename, e.Pos.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. |