go/parser.parser.declare (method)
9 uses
go/parser (current package)
parser.go#L119: func (p *parser) declare(decl, data interface{}, scope *ast.Scope, kind ast.ObjKind, idents ...*ast.Ident) {
parser.go#L751: p.declare(field, nil, scope, ast.Var, idents...)
parser.go#L851: p.declare(field, nil, scope, ast.Var, idents...)
parser.go#L864: p.declare(field, nil, scope, ast.Var, idents...)
parser.go#L963: p.declare(spec, nil, scope, ast.Fun, idents...)
parser.go#L1717: p.declare(stmt, nil, p.labelScope, ast.Lbl, label)
parser.go#L2372: p.declare(spec, iota, p.topScope, kind, idents...)
parser.go#L2389: p.declare(spec, nil, p.topScope, ast.Typ, ident)
parser.go#L2485: p.declare(decl, nil, p.pkgScope, ast.Fun, ident)
 |
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. |