func go/ast.lineAt
10 uses
go/ast (current package)
import.go#L33: if j > i && lineAt(fset, s.Pos()) > 1+lineAt(fset, d.Specs[j-1].End()) {
import.go#L45: lastLine := lineAt(fset, lastSpec.Pos())
import.go#L46: rParenLine := lineAt(fset, d.Rparen)
import.go#L55: func lineAt(fset *token.FileSet, pos token.Pos) int {
import.go#L118: beg := fset.File(begSpecs).LineStart(lineAt(fset, begSpecs))
import.go#L119: endLine := lineAt(fset, endSpecs)
import.go#L162: lineAt(fset, pos[specIndex].Start)+1 == lineAt(fset, g.Pos()) {
import.go#L197: fset.File(p).MergeLine(lineAt(fset, p))
 |
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. |