Home
last modified time | relevance | path

Searched defs:ValueSpec (Results 1 – 5 of 5) sorted by relevance

/prebuilts/go/linux-x86/src/internal/types/errors/
Dgenerrordocs.go68 func walkCodes(f func(string, *ast.ValueSpec)) {
Dcodes_test.go47 func walkCodes(t *testing.T, f func(string, int, *ast.ValueSpec)) {
/prebuilts/go/linux-x86/src/go/types/
Dresolver.go54 func (check *Checker) arityMatch(s, init *ast.ValueSpec) {
/prebuilts/go/linux-x86/src/go/ast/
Dast.go897 ValueSpec struct { struct
898 Doc *CommentGroup // associated documentation; or nil
899 Names []*Ident // value names (len(Names) > 0)
900 Type Expr // value type; or nil
901 Values []Expr // initial values; or nil
902 Comment *CommentGroup // line comments; or nil
924 func (s *ValueSpec) Pos() token.Pos { return s.Names[0].Pos() }
934 func (s *ValueSpec) End() token.Pos {
948 func (*ValueSpec) specNode() {}
/prebuilts/go/linux-x86/src/go/printer/
Dnodes.go1617 func (p *printer) valueSpec(s *ast.ValueSpec, keepType bool) {