go/ast.Object.Pos (method)
4 uses
go/ast (current package)
resolve.go#L37: if pos := alt.Pos(); pos.IsValid() {
resolve.go#L40: p.error(obj.Pos(), fmt.Sprintf("%s redeclared in this block%s", obj.Name, prevDecl))
scope.go#L92: func (obj *Object) Pos() token.Pos {
go/parser
parser.go#L131: if pos := alt.Pos(); pos.IsValid() {
 |
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. |