type go/ast.ValueSpec
24 uses
go/ast (current package)
ast.go#L913: ValueSpec struct {
ast.go#L940: func (s *ValueSpec) Pos() token.Pos { return s.Names[0].Pos() }
ast.go#L950: func (s *ValueSpec) End() token.Pos {
ast.go#L964: func (*ValueSpec) specNode() {}
filter.go#L187: case *ValueSpec:
scope.go#L117: case *ValueSpec:
walk.go#L287: case *ValueSpec:
go/doc
example.go#L183: case *ast.ValueSpec:
example.go#L409: case *ast.ValueSpec:
example.go#L444: case *ast.ValueSpec:
exports.go#L214: case *ast.ValueSpec:
exports.go#L275: spec := spec.(*ast.ValueSpec)
filter.go#L27: case *ast.ValueSpec:
reader.go#L266: for _, ident := range s.(*ast.ValueSpec).Names {
reader.go#L284: s, ok := spec.(*ast.ValueSpec)
reader.go#L834: if s, ok := d.Specs[0].(*ast.ValueSpec); ok {
go/parser
parser.go#L2590: spec := &ast.ValueSpec{
resolver.go#L454: spec := spec.(*ast.ValueSpec)
go/types
decl.go#L376: spec *ast.ValueSpec
decl.go#L382: varDecl struct{ spec *ast.ValueSpec }
decl.go#L404: var last *ast.ValueSpec // last ValueSpec with type or init exprs seen
decl.go#L409: case *ast.ValueSpec:
decl.go#L419: last = new(ast.ValueSpec) // make sure last exists
resolver.go#L55: func (check *Checker) arityMatch(s, init *ast.ValueSpec) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)