golang.org/x/mod/modfile.Comment.Start (field)
13 uses
golang.org/x/mod/modfile (current package)
read.go#L52: Start Position
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#L699: for len(line) > 0 && start.Byte >= line[0].Start.Byte {
read.go#L701: fmt.Fprintf(os.Stderr, "ASSIGN LINE %q #%d\n", line[0].Token, line[0].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#L744: for len(suffix) > 0 && end.Byte <= suffix[len(suffix)-1].Start.Byte {
read.go#L746: fmt.Fprintf(os.Stderr, "ASSIGN SUFFIX %q #%d\n", suffix[len(suffix)-1].Token, suffix[len(suffix)-1].Start.Byte)
read.go#L788: com.Before = append(com.Before, Comment{Start: tok.pos, Token: tok.text})
read.go#L872: comments = append(comments, Comment{Start: tok.pos, Token: tok.text})
 |
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. |