Searched defs:ValueSpec (Results 1 – 5 of 5) sorted by relevance
68 func walkCodes(f func(string, *ast.ValueSpec)) {
47 func walkCodes(t *testing.T, f func(string, int, *ast.ValueSpec)) {
54 func (check *Checker) arityMatch(s, init *ast.ValueSpec) {
897 ValueSpec struct { struct898 Doc *CommentGroup // associated documentation; or nil899 Names []*Ident // value names (len(Names) > 0)900 Type Expr // value type; or nil901 Values []Expr // initial values; or nil902 Comment *CommentGroup // line comments; or nil924 func (s *ValueSpec) Pos() token.Pos { return s.Names[0].Pos() }934 func (s *ValueSpec) End() token.Pos {948 func (*ValueSpec) specNode() {}
1617 func (p *printer) valueSpec(s *ast.ValueSpec, keepType bool) {