go/ast.Scope.Insert (method)
4 uses
go/ast (current package)
resolve.go#L30: alt := scope.Insert(obj)
scope.go#L43: func (s *Scope) Insert(obj *Object) (alt *Object) {
go/parser
parser.go#L129: if alt := scope.Insert(obj); alt != nil && p.mode&DeclarationErrors != 0 {
parser.go#L153: if alt := p.topScope.Insert(obj); alt != nil {
 |
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. |