go/printer.commentInfo.commentOffset (field)
5 uses
go/printer (current package)
nodes.go#L94: if p.commentOffset == infinity {
printer.go#L48: commentOffset int // = printer.posFor(printer.comments[cindex].List[0].Pos()).Offset; or infinity
printer.go#L137: p.commentOffset = p.posFor(list[0].Pos()).Offset
printer.go#L145: p.commentOffset = infinity
printer.go#L153: return p.commentOffset < next.Offset && (!p.impliedSemi || !p.commentNewline)
![]() |
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. |